diff options
author | ralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-10 06:28:43 +0000 |
---|---|---|
committer | ralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-10 06:28:43 +0000 |
commit | 170dd4e20beb8cbcf84647157c009172b88d55e8 (patch) | |
tree | 58947ae4b6681e11224f940a6d78b227b334d195 /media/base/filter_host.h | |
parent | 91ffedf42400efa66c80f7f7b1f4780e776bcf2d (diff) | |
download | chromium_src-170dd4e20beb8cbcf84647157c009172b88d55e8.zip chromium_src-170dd4e20beb8cbcf84647157c009172b88d55e8.tar.gz chromium_src-170dd4e20beb8cbcf84647157c009172b88d55e8.tar.bz2 |
Could you guys get on this one ASAP. My video render code depends on these methods. I also slipped in the critical section code stuff here too.
Review URL: http://codereview.chromium.org/19547
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/filter_host.h')
-rw-r--r-- | media/base/filter_host.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/media/base/filter_host.h b/media/base/filter_host.h index 42f6554..d04d4d4 100644 --- a/media/base/filter_host.h +++ b/media/base/filter_host.h @@ -46,6 +46,14 @@ class FilterHost { // base::TimeDelta - the new pipeline time, in microseconds. virtual void SetTimeUpdateCallback(Callback1<base::TimeDelta>::Type* cb) = 0; + // Request that the time callback be called at the specified stream + // time. This will set a timer specific to the filter that will be fired + // no sooner than the specified time based on the interpolated time. Note + // that, becuase the callback will be made with the interpolated time, it is + // possible for time to move "backward" slightly when the audio device updates + // the pipeline time though the SetTime method. + virtual void ScheduleTimeUpdateCallback(base::TimeDelta time) = 0; + // Filters must call this method to indicate that their initialization is // complete. They may call this from within their Initialize() method or may // choose call it after processing some data. |