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

Unified Diff: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.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/StereoPannerNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
index 382689b6714d6e1e99a1128ac255c74e15788235..c70238a958a76ff6aee0dac11bfe963062039a36 100644
--- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
@@ -74,6 +74,13 @@ void StereoPannerHandler::process(size_t framesToProcess) {
}
}
+void StereoPannerHandler::processOnlyAudioParams(size_t framesToProcess) {
+ float values[AudioUtilities::kRenderQuantumFrames];
+ DCHECK_LE(framesToProcess, AudioUtilities::kRenderQuantumFrames);
+
+ m_pan->calculateSampleAccurateValues(values, framesToProcess);
+}
+
void StereoPannerHandler::initialize() {
if (isInitialized())
return;

Powered by Google App Engine
This is Rietveld 408576698