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

Re: Can AudioNode.channelCount be zero?

From: Chris Rogers <crogers@google.com>
Date: Wed, 22 May 2013 13:14:40 -0700
Message-ID: <CA+EzO0nK0=R3N48ekLPWcuF4yP1Cifa2r2+PR9ZaEJPtZ6Rc0w@mail.gmail.com>
To: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
On Wed, May 22, 2013 at 6:50 AM, Ehsan Akhgari <ehsan.akhgari@gmail.com>wrote:

> The current spec doesn't say anything about it, and WebKit/Blink throw
> INVALID_STATE_ERR.  I'd like to modify the spec to say that setting
> channelCount to zero should throw, but I think a better exception code is
> NOT_SUPPORTED_ERR.  Any objections?
>

Sounds good to me


>
> --
> Ehsan
> <http://ehsanakhgari.org/>
>
Received on Wednesday, 22 May 2013 20:15:08 UTC

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