You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not 100% clear to me whether these constraints should be enforced in just the AudioWorkletNode constructor, or also in the AudioWorkletProcessor constructor (even though that claims to ignore its options arg), or something else.
It would be much clearer if there were a "validate a AudioWorkletNodeOptions" algorithm defined that does the relevant checks and if that algorithm were invoked in the relevant places explicitly.
The text was updated successfully, but these errors were encountered:
https://webaudio.github.io/web-audio-api/#dictionary-audioworkletnodeoptions-members defines various validity constraints on
AudioWorkletNodeOptions
members that are supposed to lead to exceptions.https://webaudio.github.io/web-audio-api/#configuring-channels-with-audioworkletnodeoptions defines some more validity constraints.
It's not 100% clear to me whether these constraints should be enforced in just the
AudioWorkletNode
constructor, or also in theAudioWorkletProcessor
constructor (even though that claims to ignore its options arg), or something else.It would be much clearer if there were a "validate a
AudioWorkletNodeOptions
" algorithm defined that does the relevant checks and if that algorithm were invoked in the relevant places explicitly.The text was updated successfully, but these errors were encountered: