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

Unified Diff: media/base/silent_sink_suspender.h

Issue 2517503003: Reland: Make more media APIs aware of |delay| and |delay_timestamp| (Closed)
Patch Set: Comments from chcunningham@ and Dale 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
« no previous file with comments | « media/base/fake_audio_renderer_sink.cc ('k') | media/base/silent_sink_suspender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/silent_sink_suspender.h
diff --git a/media/base/silent_sink_suspender.h b/media/base/silent_sink_suspender.h
index 14585d33ae6b403a3135d3bac83ffffc397f28b0..82da971a49e8e2a92e7eaa74b5354f660f444676 100644
--- a/media/base/silent_sink_suspender.h
+++ b/media/base/silent_sink_suspender.h
@@ -47,9 +47,10 @@ class MEDIA_EXPORT SilentSinkSuspender
~SilentSinkSuspender() override;
// AudioRendererSink::RenderCallback implementation.
- int Render(AudioBus* dest,
- uint32_t frames_delayed,
- uint32_t frames_skipped) override;
+ int Render(base::TimeDelta delay,
+ base::TimeTicks delay_timestamp,
+ int prior_frames_skipped,
+ AudioBus* dest) override;
void OnRenderError() override;
bool is_using_fake_sink_for_testing() const { return is_using_fake_sink_; }
« no previous file with comments | « media/base/fake_audio_renderer_sink.cc ('k') | media/base/silent_sink_suspender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698