W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2013

Re: ScriptProcessorNode.channelCountMode should be explicit by default

From: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Date: Tue, 30 Apr 2013 19:29:21 -0400
Message-ID: <CANTur_5tgHPo47=2Dwbf4rFfMwafEkFAp8FtkFqacevs2fNnKw@mail.gmail.com>
To: Chris Rogers <crogers@google.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
Thanks!  What about AudioDestinationNode?  Would it also make sense to set
its channelCountMode to "max" by default?

--
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:30:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:18 UTC