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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioDSPKernel.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/AudioDSPKernel.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioDSPKernel.h b/third_party/WebKit/Source/platform/audio/AudioDSPKernel.h
index b052a43a44f35623dd98f044658ed5375995562c..0bb4728a72818558bfe95f73b4cd7e73273205ca 100644
--- a/third_party/WebKit/Source/platform/audio/AudioDSPKernel.h
+++ b/third_party/WebKit/Source/platform/audio/AudioDSPKernel.h
@@ -57,6 +57,9 @@ class PLATFORM_EXPORT AudioDSPKernel {
virtual void process(const float* source,
float* destination,
size_t framesToProcess) = 0;
+ // Subclasses that have AudioParams must override this to process the
+ // AudioParams.
+ virtual void processAudioParams(size_t framesToProcess){};
virtual void reset() = 0;
float sampleRate() const { return m_sampleRate; }

Powered by Google App Engine
This is Rietveld 408576698