- From: <bugzilla@jessica.w3.org>
- Date: Mon, 11 Mar 2013 15:12:34 +0000
- To: public-audio@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21223 --- Comment #8 from Ehsan Akhgari [:ehsan] <ehsan@mozilla.com> --- (In reply to comment #7) > The spec currently says two things: > * An implementation must support sample-rates in at least the range 22050 to > 96000. > * An exception will be thrown if the numberOfChannels or sampleRate are > out-of-bounds > > > Looking at the discussion so far, I think the spec should say something like: > > * implementations MUST support sampling rate ranges of 8-192 KHz. sampling > rates beyond this range MAY be supported. > * [in The createBuffer method ] An exception MUST be thrown if sampleRate is > out of bounds. That sounds fine. > is DOM_SYNTAX_ERR the best exception though? Not really. The best exception for this kind of error would be INDEX_SIZE_ERR, I think, since that is supposed to be used for out of range arguments <http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-17189187>. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Monday, 11 March 2013 15:12:35 UTC