Index: modules/webaudio/AudioContext.idl |
diff --git a/modules/webaudio/AudioContext.idl b/modules/webaudio/AudioContext.idl |
index d1100f535e6eac4746bfda98dd68350becae3923..f14e8b6e551d3a211aae303711686287df4a5cb2 100644 |
--- a/modules/webaudio/AudioContext.idl |
+++ b/modules/webaudio/AudioContext.idl |
@@ -27,7 +27,10 @@ |
NoInterfaceObject, |
Conditional=WEB_AUDIO, |
ActiveDOMObject, |
- CustomConstructor |
+ Constructor, |
+ Constructor(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate), |
+ ConstructorCallWith=Document, |
+ ConstructorRaisesException |
] interface AudioContext : EventTarget { |
// All rendered audio ultimately connects to destination, which represents the audio hardware. |
readonly attribute AudioDestinationNode destination; |
@@ -67,7 +70,7 @@ |
ConvolverNode createConvolver(); |
DynamicsCompressorNode createDynamicsCompressor(); |
AnalyserNode createAnalyser(); |
- [RaisesException] ScriptProcessorNode createScriptProcessor(unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChannels); |
+ [RaisesException] ScriptProcessorNode createScriptProcessor(optional unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChannels); |
OscillatorNode createOscillator(); |
[RaisesException] PeriodicWave createPeriodicWave(Float32Array real, Float32Array imag); |