[Bug 21223] Mandate a useful accepted sampling rate ranges for buffers created through AudioContext.createBuffer

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21223

Olivier Thereaux <olivier.thereaux@bbc.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier.thereaux@bbc.co.uk

--- Comment #7 from Olivier Thereaux <olivier.thereaux@bbc.co.uk> ---
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.

is DOM_SYNTAX_ERR the best exception though?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 11 March 2013 11:43:31 UTC