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

Unified Diff: media/base/fake_audio_renderer_sink.h

Issue 2517503003: Reland: Make more media APIs aware of |delay| and |delay_timestamp| (Closed)
Patch Set: Updated audio_output_win_unittest Created 4 years 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: media/base/fake_audio_renderer_sink.h
diff --git a/media/base/fake_audio_renderer_sink.h b/media/base/fake_audio_renderer_sink.h
index 2a90600b13f3d24f5c248d520214b24563fec706..9aca959043fd14123738e5e00cd262dd35f40c9a 100644
--- a/media/base/fake_audio_renderer_sink.h
+++ b/media/base/fake_audio_renderer_sink.h
@@ -42,13 +42,13 @@ class FakeAudioRendererSink : public AudioRendererSink {
bool CurrentThreadIsRenderingThread() override;
// Attempts to call Render() on the callback provided to
- // Initialize() with |dest| and |frames_delayed|.
+ // Initialize() with |dest| and |delay|.
// Returns true and sets |frames_written| to the return value of the
// Render() call.
// Returns false if this object is in a state where calling Render()
// should not occur. (i.e., in the kPaused or kStopped state.) The
// value of |frames_written| is undefined if false is returned.
- bool Render(AudioBus* dest, uint32_t frames_delayed, int* frames_written);
+ bool Render(AudioBus* dest, base::TimeDelta delay, int* frames_written);
void OnRenderError();
State state() const { return state_; }

Powered by Google App Engine
This is Rietveld 408576698