Index: Source/modules/webaudio/AudioBufferSourceNode.h |
diff --git a/Source/modules/webaudio/AudioBufferSourceNode.h b/Source/modules/webaudio/AudioBufferSourceNode.h |
index 81a82f1b9850160a824954d9cd4c81963629b2d6..57ff7092952d26a50ad73b32c91e639254de014d 100644 |
--- a/Source/modules/webaudio/AudioBufferSourceNode.h |
+++ b/Source/modules/webaudio/AudioBufferSourceNode.h |
@@ -52,9 +52,8 @@ public: |
virtual void process(size_t framesToProcess); |
virtual void reset(); |
- // setBuffer() is called on the main thread. This is the buffer we use for playback. |
- // returns true on success. |
- bool setBuffer(AudioBuffer*); |
+ // setBuffer() is called on the main thread. This is the buffer we use for playback. |
+ void setBuffer(AudioBuffer*, ExceptionState&); |
AudioBuffer* buffer() { return m_buffer.get(); } |
// numberOfChannels() returns the number of output channels. This value equals the number of channels from the buffer. |