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

Unified Diff: components/audio_modem/audio_player_impl.cc

Issue 2101303004: Pass delay and timestamp to AudioSourceCallback::OnMoreData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 6 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: components/audio_modem/audio_player_impl.cc
diff --git a/components/audio_modem/audio_player_impl.cc b/components/audio_modem/audio_player_impl.cc
index c968adf40bf115d40979298a74dcc3e7587a8a37..e3cc650ddd35ba3529e69db17e96079da01f5c74 100644
--- a/components/audio_modem/audio_player_impl.cc
+++ b/components/audio_modem/audio_player_impl.cc
@@ -133,6 +133,7 @@ void AudioPlayerImpl::FinalizeOnAudioThread() {
int AudioPlayerImpl::OnMoreData(media::AudioBus* dest,
uint32_t /* total_bytes_delay */,
+ base::TimeDelta /* delay_timestamp */,
uint32_t /* frames_skipped */) {
base::AutoLock al(state_lock_);
// Continuously play our samples till explicitly told to stop.

Powered by Google App Engine
This is Rietveld 408576698