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

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

From: Chris Rogers <crogers@google.com>
Date: Thu, 23 May 2013 13:53:15 -0700
Message-ID: <CA+EzO0mhrBqY+8r4ENWJOtzBx+dZKBKupb=-JE9vhkFa_o2jPA@mail.gmail.com>
To: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
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

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