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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.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/DelayDSPKernel.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp b/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp
index 3ec87ba83ba41ac9f6d14e8458969f930b410eae..cc63f89fef8c37e16148f7303e42a5c9c4ff116b 100644
--- a/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp
@@ -33,7 +33,7 @@ namespace blink {
const float SmoothingTimeConstant = 0.020f; // 20ms
DelayDSPKernel::DelayDSPKernel(DelayProcessor* processor)
- : AudioDelayDSPKernel(processor, AudioHandler::ProcessingSizeInFrames) {
+ : AudioDelayDSPKernel(processor, AudioUtilities::kRenderQuantumFrames) {
DCHECK(processor);
DCHECK_GT(processor->sampleRate(), 0);
if (!(processor && processor->sampleRate() > 0))
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp ('k') | third_party/WebKit/Source/modules/webaudio/GainNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698