| Index: Source/modules/webaudio/AudioBuffer.h
|
| diff --git a/Source/modules/webaudio/AudioBuffer.h b/Source/modules/webaudio/AudioBuffer.h
|
| index a7627bed7c57625d07a046809c4665ad74a56381..91c598f3cd4597ac9f87e621ba18b3dc9ea4afaf 100644
|
| --- a/Source/modules/webaudio/AudioBuffer.h
|
| +++ b/Source/modules/webaudio/AudioBuffer.h
|
| @@ -44,6 +44,7 @@ class ExceptionState;
|
| class AudioBuffer : public ScriptWrappable, public RefCounted<AudioBuffer> {
|
| public:
|
| static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
|
| + static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&);
|
|
|
| // Returns 0 if data is not a valid audio file.
|
| static PassRefPtr<AudioBuffer> createFromAudioFileData(const void* data, size_t dataSize, bool mixToMono, float sampleRate);
|
|
|