W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

Re: [web-audio-api] AudioContext.createBuffer(chan, len, rate) should accept only non-zero positive values (#114)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:40 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/114/24244299@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=19854#2) by Chris Rogers on W3C Bugzilla. Tue, 13 Nov 2012 21:20:39 GMT

Before I change the spec, can we decide on the exception code for out-of-range sampleRate?  It seems odd to talk in terms of "index" in this case.  What do typed arrays use for zero length?

I'd just like to get all the exception codes in order for createBuffer()...

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/114#issuecomment-24244299
Received on Wednesday, 11 September 2013 14:30:28 UTC

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