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

Unified Diff: media/audio/audio_output_controller.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/audio/audio_output_controller.h
diff --git a/media/audio/audio_output_controller.h b/media/audio/audio_output_controller.h
index 856716f7774f943f9342b1c951d53eef6fce6091..2c9755693c9385e46b0fb045fefe5103fc971ac2 100644
--- a/media/audio/audio_output_controller.h
+++ b/media/audio/audio_output_controller.h
@@ -94,8 +94,9 @@ class MEDIA_EXPORT AudioOutputController
// frames has been skipped by the renderer (typically the OS). The renderer
// source can handle this appropriately depending on the type of source. An
// ordinary file playout would ignore this.
- virtual void UpdatePendingBytes(uint32_t bytes,
- uint32_t frames_skipped) = 0;
+ virtual void PrepareNextData(base::TimeDelta delay,
+ base::TimeTicks delay_timestamp,
+ uint32_t frames_skipped) = 0;
James West 2016/10/21 19:40:17 Change "uint32_t frames_skipped" to "int prior_fra
Mikhail 2016/10/24 19:50:24 Done.
// Attempts to completely fill |dest|, zeroing |dest| if the request can not
// be fulfilled (due to timeout).

Powered by Google App Engine
This is Rietveld 408576698