Currently AudioWorkletProcessor.process() method passes its arguments as `sequence<sequence<Float32Array>>`. The Audio WG discovered that this forces the implementation to allocate memory every processing block causing audio rendering performance degradation over time due to the garbage collection. Per the recent resolution in Audio WG (see the spec link), the WG decided to use FrozenArray<FrozenArray<Float32Array>> instead of compound `sequence` to avoid redundant reallocation.

Specification

Public discussion

Status in Chromium

Blink


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Positive
  • No signal
  • No signal
  • Strongly positive

Owner

Search tags

audio, worklet, wasm,

Last updated on 2021-05-06