Change the IDL for the decoding createBuffer to reflect the fact that it can return null
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 01 May 2013 22:21:44 -0400
changeset 308 101ebe21a8f4
parent 307 21562b34bf0f
child 309 c4b01f068f97
Change the IDL for the decoding createBuffer to reflect the fact that it can return null
webaudio/specification.html
--- a/webaudio/specification.html	Wed May 01 12:36:48 2013 -0700
+++ b/webaudio/specification.html	Wed May 01 22:21:44 2013 -0400
@@ -847,7 +847,7 @@
 
     AudioBuffer createBuffer(unsigned long numberOfChannels, unsigned long length, float sampleRate);
 
-    AudioBuffer createBuffer(ArrayBuffer buffer, boolean mixToMono);
+    AudioBuffer? createBuffer(ArrayBuffer buffer, boolean mixToMono);
 
     void decodeAudioData(ArrayBuffer audioData,
                          DecodeSuccessCallback successCallback,