Closed chcunningham closed 3 years ago
Is this supposed to fix WebAudio/web-audio-api-v2#111? I think the bug got moved to v2?
Teleconf: After discussing this in the group, we think it's best to handle this as a high priority issue WebAudio/web-audio-api-v2#111 for V2. The consensus was that other things are really needed as well for the AudioBuffer, including reducing memory consumption.
We'd like to close this PR and have a new one for V2. (Can't move PRs from v1 to v2).
WDYT @chcunningham ?
Yep, I think thats fine, so long as we can continue discussing and ultimately merge it with the same urgency (this blocks WebCodecs). I'll re-open this in V2.
This updates AudioBuffer exposure to match WebCodecs.
WebCodecs uses AudioBuffer as a container of unencoded audio. https://wicg.github.io/web-codecs/#dom-audioframe-buffer
WebCodecs AudioDecoder and AudioEncoder classes are exposed to DedicatedWorker to facilitate offloaded codec IO.
Fixes #2288
Preview | Diff