WebAudio / web-audio-api

The Web Audio API v1.0, developed by the W3C Audio WG
https://webaudio.github.io/web-audio-api/
Other
1.05k stars 167 forks source link

AudioWorkletProcessor definition without `get ParameterDescriptor` #2171

Closed padenot closed 4 years ago

padenot commented 4 years ago

Should this be allowed? Per spec, it shouldn't:

https://heycam.github.io/webidl/#es-sequence throws if the input is not iterable, and there is particular handling for when there is no get parameterDescriptors.

I see WPTs and examples in the spec that don't have get parameterDescriptors.

@hoch, I believe your intent there was to allow it, is that right?

rtoy commented 4 years ago

Teleconf: Allow not having parameterDescriptors. Makes sense if there are no AudioParams defined for the worklet.