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

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

Issue 2420983002: AudioParams with automations must process timelines (Closed)
Patch Set: Fix paths. Created 3 years, 11 months 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 131f2954d2b5e8640804bf00e91717c7d9e9f8be..5b5bb1d158d89531484677ff0645e9f969fb2124 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,
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/AudioNode.cpp ('k') | third_party/WebKit/Source/modules/webaudio/BiquadProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698