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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.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/DelayDSPKernel.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp b/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp
index cc63f89fef8c37e16148f7303e42a5c9c4ff116b..79f01420564794a5ea71834b82adf7ed5263fcca 100644
--- a/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp
@@ -67,4 +67,13 @@ double DelayDSPKernel::delayTime(float) {
return getDelayProcessor()->delayTime().finalValue();
}
+void DelayDSPKernel::processOnlyAudioParams(size_t framesToProcess) {
+ DCHECK_LE(framesToProcess, AudioUtilities::kRenderQuantumFrames);
+
+ float values[AudioUtilities::kRenderQuantumFrames];
+
+ getDelayProcessor()->delayTime().calculateSampleAccurateValues(
+ values, framesToProcess);
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.h ('k') | third_party/WebKit/Source/modules/webaudio/DelayNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698