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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.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/AudioScheduledSourceNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp
index 89e11743bed057cecb46c5804306274b0d7bf233..c3c6237085ed019032140be937f4321c2d45b7f4 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp
@@ -54,8 +54,9 @@ void AudioScheduledSourceHandler::updateSchedulingInfo(
if (!outputBus)
return;
- DCHECK_EQ(quantumFrameSize, static_cast<size_t>(ProcessingSizeInFrames));
- if (quantumFrameSize != ProcessingSizeInFrames)
+ DCHECK_EQ(quantumFrameSize,
+ static_cast<size_t>(AudioUtilities::kRenderQuantumFrames));
+ if (quantumFrameSize != AudioUtilities::kRenderQuantumFrames)
return;
double sampleRate = this->sampleRate();

Powered by Google App Engine
This is Rietveld 408576698