| Index: third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h b/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h
|
| index a77b52e67394f076d8e5017ff9b2ea43dfc8022b..b575982fd1024a5928ec8179779a095cdfb0683c 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h
|
| @@ -103,7 +103,15 @@ public:
|
| // latency. Higher numbers will be necessary to avoid audio breakup and
|
| // glitches.
|
| // The value chosen must carefully balance between latency and audio quality.
|
| - static ScriptProcessorNode* create(AbstractAudioContext&, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels);
|
| + static ScriptProcessorNode* create(AbstractAudioContext&, ExceptionState&);
|
| + static ScriptProcessorNode* create(AbstractAudioContext&, size_t bufferSize, ExceptionState&);
|
| + static ScriptProcessorNode* create(AbstractAudioContext&, size_t bufferSize, unsigned numberOfInputChannels, ExceptionState&);
|
| + static ScriptProcessorNode* create(
|
| + AbstractAudioContext&,
|
| + size_t bufferSize,
|
| + unsigned numberOfInputChannels,
|
| + unsigned numberOfOutputChannels,
|
| + ExceptionState&);
|
|
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(audioprocess);
|
| size_t bufferSize() const;
|
|
|