Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp

Issue 2440583002: Use AudioUtilities::kRenderQuantumFrames everywhere (Closed)
Patch Set: Address review comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp b/third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp
index 613f631f49808b8d83cccb00d30627c0e408ef47..36287ff52d8591ab93103fd18954a6e19c84f659 100644
--- a/third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp
@@ -136,9 +136,9 @@ void ConvolverHandler::setBuffer(AudioBuffer* buffer,
bufferBus->setSampleRate(buffer->sampleRate());
// Create the reverb with the given impulse response.
- std::unique_ptr<Reverb> reverb = wrapUnique(
- new Reverb(bufferBus.get(), ProcessingSizeInFrames, MaxFFTSize, 2,
- context() && context()->hasRealtimeConstraint(), m_normalize));
+ std::unique_ptr<Reverb> reverb = wrapUnique(new Reverb(
+ bufferBus.get(), AudioUtilities::kRenderQuantumFrames, MaxFFTSize, 2,
+ context() && context()->hasRealtimeConstraint(), m_normalize));
{
// Synchronize with process().

Powered by Google App Engine
This is Rietveld 408576698