summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/webaudio/AudioContext.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/webaudio/AudioContext.idl')
-rw-r--r--Source/WebCore/webaudio/AudioContext.idl6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WebCore/webaudio/AudioContext.idl b/Source/WebCore/webaudio/AudioContext.idl
index 9f0f49c..531774e 100644
--- a/Source/WebCore/webaudio/AudioContext.idl
+++ b/Source/WebCore/webaudio/AudioContext.idl
@@ -41,8 +41,10 @@ module webaudio {
// All panning is relative to this listener.
readonly attribute AudioListener listener;
- AudioBuffer createBuffer(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate);
- AudioBuffer createBuffer(in ArrayBuffer buffer, in boolean mixToMono);
+ // AudioBuffer createBuffer(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate);
+ // AudioBuffer createBuffer(in ArrayBuffer buffer, in boolean mixToMono);
+ [Custom] AudioBuffer createBuffer()
+ raises(DOMException);
// Source
AudioBufferSourceNode createBufferSource();