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

Unified Diff: third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.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/ConstantSourceNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp b/third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp
index 7af4e078a0cf82eb82c18caf72a6fc1de0bbe333..821419d0125c9f07afd506125e19d310c054946f 100644
--- a/third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp
@@ -21,7 +21,7 @@ ConstantSourceHandler::ConstantSourceHandler(AudioNode& node,
AudioParamHandler& offset)
: AudioScheduledSourceHandler(NodeTypeConstantSource, node, sampleRate),
m_offset(offset),
- m_sampleAccurateValues(ProcessingSizeInFrames) {
+ m_sampleAccurateValues(AudioUtilities::kRenderQuantumFrames) {
// A ConstantSource is always mono.
addOutput(1);

Powered by Google App Engine
This is Rietveld 408576698