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

Unified Diff: media/renderers/audio_renderer_impl.h

Issue 2437863004: Make more media APIs aware of |delay| and |delay_timestamp| (Closed)
Patch Set: Created 4 years, 2 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
Index: media/renderers/audio_renderer_impl.h
diff --git a/media/renderers/audio_renderer_impl.h b/media/renderers/audio_renderer_impl.h
index 6ab57ae3a978b6675d4c11ab35c30abfc6da2224..873b6801fd86a51859a29d3f2636a033f2aa135d 100644
--- a/media/renderers/audio_renderer_impl.h
+++ b/media/renderers/audio_renderer_impl.h
@@ -154,9 +154,10 @@ class MEDIA_EXPORT AudioRendererImpl
// timestamp in the pipeline will be ahead of the actual audio playback. In
// this case |frames_delayed| should be used to indicate when in the future
// should the filled buffer be played.
- int Render(AudioBus* audio_bus,
- uint32_t frames_delayed,
- uint32_t frames_skipped) override;
+ int Render(AudioBus* dest,
+ base::TimeDelta delay,
+ base::TimeTicks delay_timestamp,
+ uint32_t prior_frames_skipped) override;
void OnRenderError() override;
// Helper methods that schedule an asynchronous read from the decoder as long

Powered by Google App Engine
This is Rietveld 408576698