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
Well, admittedly, when setting it to something greater than the max for one particular implementation, NotSupportedError makes sense, because it possible another implementation supports more channels.
Resolution: leave as NotSupportedError for zero case, setting channelCount to be greater than the implementation's maximum number of channels should also throw NotSupportedError.
The spec (https://webaudio.github.io/web-audio-api/#widl-AudioNode-channelCount) says NotSupportedError is thrown. The spec doesn't say, but presumably setting channelCount to be greater than the implementation's maximum number of channels should also throw.
In this case, IndexSizeError seems more appropriate.
The text was updated successfully, but these errors were encountered: