Skip to content

[audioworklet] Bring Your Own Buffer style of memory management #2442

@joeberkovitz

Description

@joeberkovitz

Discussing with WebAssembly group, we've been talking about having an alternate approach to managing the buffers used to communicate data between an AudioWorkletProcessor and the rendering thread environment (input, output and parameters buffers). It would be better for WASM in many ways if we allowed the AWP code to respond to the needs of the environment by providing its own buffers, rather than having to work with JS buffers or views provided from outside. This would eliminate the number of copies and make for a very direct WebAssembly/Web Audio connection.

Metadata

Metadata

Assignees

Labels

Needs DiscussionThe issue needs more discussion before it can be fixed.Priority: UrgentWG charter deliverables; "need to have". https://speced.github.io/spec-maintenance/about/category: new featureSubstantive changes that add new functionality. https://www.w3.org/policies/process/#class-4

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions