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

Unified Diff: media/base/audio_renderer_sink.h

Issue 2101303004: Pass delay and timestamp to AudioSourceCallback::OnMoreData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix Mac CQ errors. Created 4 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
Index: media/base/audio_renderer_sink.h
diff --git a/media/base/audio_renderer_sink.h b/media/base/audio_renderer_sink.h
index 268b9b6c45c33f2bfb02fc4352fb010bd7aed28e..f768b7cb1b42d2f0fbb4d7f192b2df5a1d7840ab 100644
--- a/media/base/audio_renderer_sink.h
+++ b/media/base/audio_renderer_sink.h
@@ -30,6 +30,8 @@ class AudioRendererSink
// Attempts to completely fill all channels of |dest|, returns actual
// number of frames filled. |frames_skipped| contains the number of frames
// the consumer has skipped, if any.
+ // TODO(jameswest): Change to use the same signature as
+ // AudioOutputStream::AudioSourceCallback::OnMoreData.
virtual int Render(AudioBus* dest,
uint32_t frames_delayed,
uint32_t frames_skipped) = 0;

Powered by Google App Engine
This is Rietveld 408576698