Closed Bug 1171442 Opened 10 years ago Closed 10 years ago

AudioNode.channelCount = 0 shoudl throw NotSupportedError

Categories

(Core :: Web Audio, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: padenot, Unassigned)

Details

What do you expect ? AudioNode.channelCount = 0 already throws NotSupportedError : > virtual void SetChannelCount(uint32_t aChannelCount, ErrorResult& aRv) > { > if (aChannelCount == 0 || > aChannelCount > WebAudioUtils::MaxChannelCount) { > aRv.Throw(NS_ERROR_DOM_NOT_SUPPORTED_ERR); > return; > } > mChannelCount = aChannelCount; > SendChannelMixingParametersToStream(); > }
Flags: needinfo?(padenot)
Ah well we're already doing the right thing, then, closing.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(padenot)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.