Make the aBufferSize argument to createJavaScriptNode optional too
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 18 Apr 2013 18:22:34 -0400
changeset 298 3570fec878f0
parent 297 d251ad90bc25
child 299 adad85993ac1
Make the aBufferSize argument to createJavaScriptNode optional too
webaudio/specification.html
--- a/webaudio/specification.html	Thu Apr 18 17:16:38 2013 -0400
+++ b/webaudio/specification.html	Thu Apr 18 18:22:34 2013 -0400
@@ -5292,7 +5292,7 @@
     DelayNode createDelayNode(optional double maxDelayTime = 1.0);
 
     // Same as createScriptProcessor()
-    ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize,
+    ScriptProcessorNode createJavaScriptNode(optional unsigned long bufferSize = 0,
                                              optional unsigned long numberOfInputChannels = 2,
                                              optional unsigned long numberOfOutputChannels = 2);
 };