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

Unified Diff: media/filters/audio_renderer_base.h

Issue 9155003: Fix media timeline so that thumb never exceeds buffered data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase ToT, again Created 8 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
« no previous file with comments | « media/base/pipeline_unittest.cc ('k') | media/filters/audio_renderer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_renderer_base.h
diff --git a/media/filters/audio_renderer_base.h b/media/filters/audio_renderer_base.h
index 85549ee746d1c5edc6a70a919022f5832aabac8f..52aeda80d4a231ea6045a05b1d595dc6ae495c74 100644
--- a/media/filters/audio_renderer_base.h
+++ b/media/filters/audio_renderer_base.h
@@ -43,7 +43,8 @@ class MEDIA_EXPORT AudioRendererBase : public AudioRenderer {
// AudioRenderer implementation.
virtual void Initialize(AudioDecoder* decoder,
const PipelineStatusCB& init_callback,
- const base::Closure& underflow_callback) OVERRIDE;
+ const base::Closure& underflow_callback,
+ const AudioTimeCB& audio_time_cb) OVERRIDE;
virtual bool HasEnded() OVERRIDE;
virtual void ResumeAfterUnderflow(bool buffer_more_audio) OVERRIDE;
@@ -155,6 +156,8 @@ class MEDIA_EXPORT AudioRendererBase : public AudioRenderer {
base::Closure underflow_callback_;
+ AudioTimeCB audio_time_cb_;
+
base::TimeDelta seek_timestamp_;
AudioDecoder::ReadCB read_cb_;
« no previous file with comments | « media/base/pipeline_unittest.cc ('k') | media/filters/audio_renderer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698