Specify the default value for the AudioContext.createDelay() optional argument in Web IDL
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 01 Nov 2012 11:32:39 -0400
changeset 200 c956edac5174
parent 199 b70563d39ab1
child 201 4c6a4fa8657b
Specify the default value for the AudioContext.createDelay() optional argument in Web IDL
webaudio/specification.html
--- a/webaudio/specification.html	Wed Oct 31 13:15:47 2012 -0700
+++ b/webaudio/specification.html	Thu Nov 01 11:32:39 2012 -0400
@@ -734,7 +734,7 @@
 
     AnalyserNode createAnalyser();
     GainNode createGain();
-    DelayNode createDelay(optional double maxDelayTime);
+    DelayNode createDelay(optional float maxDelayTime = 1.0);
     BiquadFilterNode createBiquadFilter();
     WaveShaperNode createWaveShaper();
     PannerNode createPanner();
@@ -916,8 +916,7 @@
       representing a variable delay line. The initial default delay time will
       be 0 seconds.</p>
       <p>The <dfn id="dfn-maxDelayTime">maxDelayTime</dfn> parameter is
-      optional and specifies the maximum delay time allowed for the delay line.
-      If not specified, the maximum delay time defaults to 1 second. </p>
+      optional and specifies the maximum delay time allowed for the delay line.</p>
     </dd>
 </dl>
 <dl>