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

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

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/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..42e689dace54299dee4705cc400cee9439e3fd2a 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 processOnlyAudioParams(size_t framesToProcess){};
virtual void reset() = 0;
float sampleRate() const { return m_sampleRate; }

Powered by Google App Engine
This is Rietveld 408576698