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

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

Issue 2420983002: AudioParams with automations must process timelines (Closed)
Patch Set: Use kRenderQuantumFrames. 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/BiquadFilterNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp b/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp
index 8cf237779d6123c6908d51eb4b62388e8cf231ca..b7a09bbd6115fdad197c186e0d85b3476d723b50 100644
--- a/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp
@@ -51,6 +51,9 @@ BiquadFilterNode::BiquadFilterNode(BaseAudioContext& context)
// Explicitly set the filter type so that any histograms get updated with the
// default value. Otherwise, the histogram won't ever show it.
setType("lowpass");
+
+ // Initialize the handler so that AudioParams can be processed.
+ handler().initialize();
}
BiquadFilterNode* BiquadFilterNode::create(BaseAudioContext& context,

Powered by Google App Engine
This is Rietveld 408576698