Chromium Code Reviews| 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&); |
|
hongchan
2016/05/13 01:20:13
Let's make this consistent (by wrapping around 80
hongchan
2016/05/20 21:28:32
Can you take one more look on this?
Raymond Toy
2016/05/20 21:46:10
What kind of consistency? Just wrap line 108 to 8
hongchan
2016/05/20 22:57:48
Which style do you want to have here? wrapped or u
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(audioprocess); |
| size_t bufferSize() const; |