diff options
Diffstat (limited to 'media/base/pipeline.h')
-rw-r--r-- | media/base/pipeline.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/base/pipeline.h b/media/base/pipeline.h index 0df1bd3..ca7727a 100644 --- a/media/base/pipeline.h +++ b/media/base/pipeline.h @@ -12,6 +12,7 @@ #include <string> #include "base/callback.h" +#include "media/base/filters.h" #include "media/base/pipeline_status.h" namespace base { @@ -124,6 +125,9 @@ class Pipeline : public base::RefCountedThreadSafe<Pipeline> { // channels proportionately for multi-channel audio streams. virtual void SetVolume(float volume) = 0; + // Set the preload value for the pipeline. + virtual void SetPreload(Preload preload) = 0; + // Gets the current pipeline time. For a pipeline "time" progresses from 0 to // the end of the media. virtual base::TimeDelta GetCurrentTime() const = 0; |