--- a/webaudio/specification.html Wed Aug 15 12:54:35 2012 +0100
+++ b/webaudio/specification.html Wed Aug 15 22:24:02 2012 -0400
@@ -721,7 +721,7 @@
void decodeAudioData(in ArrayBuffer audioData,
in [Callback] AudioBufferCallback successCallback,
- in [Optional, Callback] AudioBufferCallback errorCallback)
+ in [Callback] optional AudioBufferCallback errorCallback)
raises(DOMException);
@@ -735,21 +735,21 @@
raises(DOMException);
JavaScriptAudioNode createJavaScriptNode(in unsigned long bufferSize,
- in [Optional] unsigned long numberOfInputChannels = 2,
- in [Optional] unsigned long numberOfOutputChannels = 2)
+ in optional unsigned long numberOfInputChannels = 2,
+ in optional unsigned long numberOfOutputChannels = 2)
raises(DOMException);
RealtimeAnalyserNode createAnalyser();
AudioGainNode createGainNode();
- DelayNode createDelayNode(in [Optional] double maxDelayTime);
+ DelayNode createDelayNode(in optional double maxDelayTime);
BiquadFilterNode createBiquadFilter();
AudioPannerNode createPanner();
ConvolverNode createConvolver();
- AudioChannelSplitter createChannelSplitter(in [Optional] unsigned long numberOfOutputs = 6)
+ AudioChannelSplitter createChannelSplitter(in optional unsigned long numberOfOutputs = 6)
raises(DOMException);
- AudioChannelMerger createChannelMerger(in [Optional] unsigned long numberOfInputs = 6);
+ AudioChannelMerger createChannelMerger(in optional unsigned long numberOfInputs = 6);
raises(DOMException);
DynamicsCompressorNode createDynamicsCompressor();
@@ -1051,13 +1051,13 @@
interface <dfn id="dfn-AudioNode">AudioNode</dfn> {
- void connect(in AudioNode destination, in [Optional] unsigned long output = 0, in [Optional] unsigned long input = 0)
+ void connect(in AudioNode destination, in optional unsigned long output = 0, in optional unsigned long input = 0)
raises(DOMException);
- void connect(in AudioParam destination, in [Optional] unsigned long output = 0)
+ void connect(in AudioParam destination, in optional unsigned long output = 0)
raises(DOMException);
- void disconnect(in [Optional] unsigned long output = 0)
+ void disconnect(in optional unsigned long output = 0)
raises(DOMException);
readonly attribute AudioContext context;