-
Notifications
You must be signed in to change notification settings - Fork 171
Description
The channelCount and channelCountMode are normally writable. But what about the AudioDestinationNode for an OfflineAudioContext?
I don't know how to make sense to create an offline context of, say, 7 channels, and then change the channelCount to 3. We've already created a 7-channel buffer to hold the result, so what does it mean to have a channelCount of 3?
Also, the default channelCountMode is "explicit" for the destination. What if I change to "max"? Using the above example, if I now feed in a 10-channel source, the "max" setting kind of implies that output will have 10 channels. But the buffer has already been created.
For simplicity, I propose that channelCount and channelCountMode cannot be changed for an offline context. I think it's fine to allow the user to change the channelnterpretation to get the desired mixing effects (or not).