We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cf3b8f commit d710c91Copy full SHA for d710c91
src/node/destination.rs
@@ -62,7 +62,7 @@ impl AudioNode for AudioDestinationNode {
62
}
63
fn set_channel_count_mode(&self, _v: ChannelCountMode) {
64
// [spec] If the AudioDestinationNode is the destination node of an
65
- // OfflineAudioContext, then the channel count mode cannot be changed.
+ // OfflineAudioContext, then the channel count mode cannot be changed.
66
// An InvalidStateError exception MUST be thrown for any attempt to change the value.
67
if self.registration.context().offline() {
68
panic!("InvalidStateError: AudioDestinationNode has channel count mode constraints");
0 commit comments