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

Unified Diff: media/base/audio_renderer.h

Issue 534073002: Switch to using media::TimeSource inside media::RendererImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad rebase Created 6 years, 3 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 | « no previous file | media/base/mock_filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_renderer.h
diff --git a/media/base/audio_renderer.h b/media/base/audio_renderer.h
index 3e7131c683b9c0ba55853b66fcda09a401090cf8..733daa65d7a53e076ad613b8b5977f56c2e8b934 100644
--- a/media/base/audio_renderer.h
+++ b/media/base/audio_renderer.h
@@ -18,10 +18,6 @@ class TimeSource;
class MEDIA_EXPORT AudioRenderer {
public:
- // First parameter is the current time that has been rendered.
- // Second parameter is the maximum time value that the clock cannot exceed.
- typedef base::Callback<void(base::TimeDelta, base::TimeDelta)> TimeCB;
-
AudioRenderer();
// Stop all operations and fire all pending callbacks.
@@ -32,8 +28,6 @@ class MEDIA_EXPORT AudioRenderer {
//
// |statistics_cb| is executed periodically with audio rendering stats.
//
- // |time_cb| is executed whenever time has advanced by way of audio rendering.
- //
// |buffering_state_cb| is executed when audio rendering has either run out of
// data or has enough data to continue playback.
//
@@ -43,7 +37,6 @@ class MEDIA_EXPORT AudioRenderer {
virtual void Initialize(DemuxerStream* stream,
const PipelineStatusCB& init_cb,
const StatisticsCB& statistics_cb,
- const TimeCB& time_cb,
const BufferingStateCB& buffering_state_cb,
const base::Closure& ended_cb,
const PipelineStatusCB& error_cb) = 0;
« no previous file with comments | « no previous file | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698