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

> [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