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

Unified Diff: media/audio/sounds/audio_stream_handler.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: media/audio/sounds/audio_stream_handler.cc
diff --git a/media/audio/sounds/audio_stream_handler.cc b/media/audio/sounds/audio_stream_handler.cc
index 74f7d70fc47e0c0e1acbaa4a51264b3e1a4044bf..6d8f993d3dfeafbda5a5b556009728e048690284 100644
--- a/media/audio/sounds/audio_stream_handler.cc
+++ b/media/audio/sounds/audio_stream_handler.cc
@@ -111,6 +111,7 @@ class AudioStreamHandler::AudioStreamContainer
// Following methods could be called from *ANY* thread.
int OnMoreData(AudioBus* dest,
uint32_t /* total_bytes_delay */,
+ base::TimeDelta /* delay_timestamp */,
uint32_t /* frames_skipped */) override {
base::AutoLock al(state_lock_);
size_t bytes_written = 0;

Powered by Google App Engine
This is Rietveld 408576698