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 8be749b commit 186a11cCopy full SHA for 186a11c
src/node/destination.rs
@@ -74,7 +74,7 @@ impl AudioNode for AudioDestinationNode {
74
// OfflineAudioContext, then the channel count mode cannot be changed.
75
// An InvalidStateError exception MUST be thrown for any attempt to change the value.
76
assert!(
77
- !self.registration.context().offline(),
+ !self.registration.context().offline() || v == ChannelCountMode::Explicit,
78
"InvalidStateError - AudioDestinationNode has channel count mode constraints",
79
);
80
0 commit comments