Use Web IDL to define OfflineAudioContext's constrctor
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 04 Mar 2013 15:04:40 -0500
changeset 268 4275c082b3de
parent 267 9a1501f037ba
child 269 28d91bd1b594
Use Web IDL to define OfflineAudioContext's constrctor

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20840
webaudio/specification.html
--- a/webaudio/specification.html	Mon Feb 25 16:01:27 2013 -0800
+++ b/webaudio/specification.html	Mon Mar 04 15:04:40 2013 -0500
@@ -1207,7 +1207,7 @@
 <pre class="code"><code class="idl-code">
 callback OfflineRenderSuccessCallback = void (AudioBuffer renderedData);
 
-[Constructor]
+[Constructor(unsigned long numberOfChannels, unsigned long length, float sampleRate)]
 interface <dfn id="dfn-OfflineAudioContext">OfflineAudioContext</dfn> : AudioContext {
 
     void startRendering();