| Index: Source/modules/webaudio/ScriptProcessorNode.cpp
|
| diff --git a/Source/modules/webaudio/ScriptProcessorNode.cpp b/Source/modules/webaudio/ScriptProcessorNode.cpp
|
| index 376b65e7dc112a25e864861957a23971b7afde06..246a5fee66e0cc4c8255cb3e69b899bd64c00a4e 100644
|
| --- a/Source/modules/webaudio/ScriptProcessorNode.cpp
|
| +++ b/Source/modules/webaudio/ScriptProcessorNode.cpp
|
| @@ -52,7 +52,7 @@ static size_t chooseBufferSize()
|
| // Choose a buffer size based on the audio hardware buffer size. Arbitarily make it a power of
|
| // two that is 4 times greater than the hardware buffer size.
|
| // FIXME: What is the best way to choose this?
|
| - size_t hardwareBufferSize = blink::Platform::current()->audioHardwareBufferSize();
|
| + size_t hardwareBufferSize = Platform::current()->audioHardwareBufferSize();
|
| size_t bufferSize = 1 << static_cast<unsigned>(log2(4 * hardwareBufferSize) + 0.5);
|
|
|
| if (bufferSize < 256)
|
|
|