Index: Source/modules/webaudio/AudioBufferSourceNode.h |
diff --git a/Source/modules/webaudio/AudioBufferSourceNode.h b/Source/modules/webaudio/AudioBufferSourceNode.h |
index 60bc1be80ef36f8d97cacb64b7d5defac904afe6..77cea02d66913dbc673575b267e17c65a218189f 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. |