--- a/webaudio/specification.html Wed Aug 15 22:28:37 2012 -0400
+++ b/webaudio/specification.html Wed Aug 15 22:35:33 2012 -0400
@@ -705,6 +705,8 @@
<div class="blockContent">
<pre class="code"><code class="idl-code">
+ callback AudioBufferCallback = void (AudioBuffer decodedData);
+
interface <dfn id="dfn-AudioContext">AudioContext</dfn> {
readonly attribute AudioDestinationNode destination;
@@ -720,8 +722,8 @@
raises(DOMException);
void decodeAudioData(in ArrayBuffer audioData,
- in [Callback] AudioBufferCallback successCallback,
- in [Callback] optional AudioBufferCallback errorCallback)
+ in AudioBufferCallback successCallback,
+ in optional AudioBufferCallback errorCallback)
raises(DOMException);