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

Unified Diff: third_party/WebKit/Source/modules/webaudio/GainNode.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/GainNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/GainNode.cpp b/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
index 9d9cb3d77663966ecd829e59a9faad70908167dd..fcb2410d95958e575ec171eb3ae76576bbb8e44f 100644
--- a/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
@@ -37,9 +37,10 @@ GainHandler::GainHandler(AudioNode& node,
: AudioHandler(NodeTypeGain, node, sampleRate),
m_lastGain(1.0),
m_gain(gain),
- m_sampleAccurateGainValues(ProcessingSizeInFrames) // FIXME: can probably
- // share temp buffer
- // in context
+ m_sampleAccurateGainValues(
+ AudioUtilities::kRenderQuantumFrames) // FIXME: can probably
+ // share temp buffer
+ // in context
{
addInput();
addOutput(1);

Powered by Google App Engine
This is Rietveld 408576698