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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioProcessor.h

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/platform/audio/AudioProcessor.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioProcessor.h b/third_party/WebKit/Source/platform/audio/AudioProcessor.h
index c24bc64ff476f129397924068fd929a1573985cf..13b0adc558a238330ef04fe23094faa4850d33fe 100644
--- a/third_party/WebKit/Source/platform/audio/AudioProcessor.h
+++ b/third_party/WebKit/Source/platform/audio/AudioProcessor.h
@@ -65,6 +65,11 @@ class PLATFORM_EXPORT AudioProcessor {
AudioBus* destination,
size_t framesToProcess) = 0;
+ // Forces all AudioParams in the processor to run the timeline,
+ // bypassing any other processing the processor would do in
+ // process().
+ virtual void processAudioParams(size_t framesToProcess){};
+
// Resets filter state
virtual void reset() = 0;

Powered by Google App Engine
This is Rietveld 408576698