Re: AudioContext.createBuffer to create a buffer of size 0

On Thu, May 23, 2013 at 11:30 AM, Ehsan Akhgari <ehsan.akhgari@gmail.com>wrote:

> I would like to modify the spec for AudioContext.createBuffer (the
> non-decoding overload) to require the implementation to throw an exception
> if the length passed in is 0.  Gecko currently doesn't handle this at all,
> and WebKit/Blink throw SYNTAX_ERR.  I would like to move towards throwing
> NOT_SUPPORTED_ERR for all of these types of error codes.  (Same for
> unsupported sampling rate ranges, for example.)
>
> Does anyone object to doing that?
>

Sounds good to me.


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

Received on Thursday, 23 May 2013 20:53:43 UTC