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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DelayNode.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/DelayNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DelayNode.cpp b/third_party/WebKit/Source/modules/webaudio/DelayNode.cpp
index 9caa640cc82138ef766c9b41b93eb22f2ac1786c..460a65290cf8cf02011a19a04b7102c9aef17e09 100644
--- a/third_party/WebKit/Source/modules/webaudio/DelayNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DelayNode.cpp
@@ -48,6 +48,9 @@ DelayNode::DelayNode(BaseAudioContext& context, double maxDelayTime)
AudioHandler::NodeTypeDelay, *this, context.sampleRate(),
WTF::wrapUnique(new DelayProcessor(
context.sampleRate(), 1, m_delayTime->handler(), maxDelayTime))));
+
+ // Initialize the handler so that AudioParams can be processed.
+ handler().initialize();
}
DelayNode* DelayNode::create(BaseAudioContext& context,

Powered by Google App Engine
This is Rietveld 408576698