--- a/webaudio/specification.html Wed Nov 28 10:30:40 2012 -0800
+++ b/webaudio/specification.html Thu Nov 29 15:59:38 2012 -0500
@@ -807,7 +807,8 @@
<div class="blockContent">
<pre class="code"><code class="idl-code">
-callback AudioBufferCallback = void (AudioBuffer decodedData);
+callback DecodeSuccessCallback = void (AudioBuffer decodedData);
+callback DecodeErrorCallback = void ();
[Constructor]
interface <dfn id="dfn-AudioContext">AudioContext</dfn> {
@@ -823,8 +824,8 @@
AudioBuffer createBuffer(ArrayBuffer buffer, boolean mixToMono);
void decodeAudioData(ArrayBuffer audioData,
- AudioBufferCallback successCallback,
- optional AudioBufferCallback errorCallback);
+ DecodeSuccessCallback successCallback,
+ optional DecodeErrorCallback errorCallback);
<span class="comment">// AudioNode creation </span>