Re: AudioContext.maxChannelCount

On Mon, May 27, 2013 at 9:11 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> The last time maxChannelCount and multichannel output came up, I suggested
> that AudioDestinationNode should default channelCountMode to 'max' instead
> of 'explicit', so many users of Web Audio would not need to use
> maxChannelCount at all --- they could just produce as many channels as they
> want, and the Web Audio implementation would downmix (or upmix) to the
> actual speaker configuration. (Especially convenient when the speaker
> configuration changes over time.) I don't recall any replies to that
> suggestion. I still like it :-).
>

I think we should do this.  crogers, do you agree?


> If we do that, it's still useful to expose maxChannelCount on
> AudioDestinationNode --- it lets advanced users customize the audio graph
> to the number of speakers. However, I don't think we need maxChannelCount
> on MediaStreamDestinationAudioNode. What would it even mean? I don't think
> we can detect the number of speakers a MediaStream is feeding into --- it
> could be feeding into many sinks, or none, or into a sink like a
> MediaRecorder that can handle any number of channels equally well.
>

Yeah, I agree with roc here.  I don't think it makes sense to specify a
maxChannelCount on MediaStreamAudioDestinationNode...

--
Ehsan
<http://ehsanakhgari.org/>

Received on Wednesday, 29 May 2013 14:59:16 UTC