Re: ScriptProcessorNode.channelCountMode should be explicit by default

On Tue, Apr 30, 2013 at 4:29 PM, Ehsan Akhgari <ehsan.akhgari@gmail.com>wrote:

> Thanks!  What about AudioDestinationNode?  Would it also make sense to set
> its channelCountMode to "max" by default?
>

That one is already "explicit" which should be correct.  The idea is that
the destination defaults to stereo explicitly.


>
> --
> Ehsan
> <http://ehsanakhgari.org/>
>
>
> On Tue, Apr 30, 2013 at 3:00 PM, Chris Rogers <crogers@google.com> wrote:
>
>>
>>
>>
>> On Mon, Apr 29, 2013 at 9:04 PM, Ehsan Akhgari <ehsan.akhgari@gmail.com>wrote:
>>
>>> AudioContext.createScriptProcessor() accepts the number of input
>>> channels as an argument, but the channelCountMode is currently set to "max"
>>> by default, which renders that argument moot by default.  I believe that we
>>> need to change the default value of channelCountMode for
>>> ScriptProcessorNode to "explicit" in order for this all to make sense
>>> together.
>>>
>>
>> Yes, you're quite right.  Fixed:
>> https://dvcs.w3.org/hg/audio/rev/e20301f197eb
>>
>>
>>>
>>> --
>>> Ehsan
>>> <http://ehsanakhgari.org/>
>>>
>>
>>
>

Received on Tuesday, 30 April 2013 23:41:32 UTC