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

Unified Diff: media/audio/fake_audio_input_stream.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/fake_audio_input_stream.cc
diff --git a/media/audio/fake_audio_input_stream.cc b/media/audio/fake_audio_input_stream.cc
index 48ca3e55534189dc55d76aade213635eed50b767..4dba3a0fa276cc02439f5dd0a8be4f3dea45115e 100644
--- a/media/audio/fake_audio_input_stream.cc
+++ b/media/audio/fake_audio_input_stream.cc
@@ -100,7 +100,7 @@ void FakeAudioInputStream::ReadAudioFromSource() {
audio_source_ = ChooseSource();
const int kNoDelay = 0;
- audio_source_->OnMoreData(audio_bus_.get(), kNoDelay, 0);
+ audio_source_->OnMoreData(audio_bus_.get(), kNoDelay, base::TimeDelta(), 0);
callback_->OnData(this, audio_bus_.get(), 0, 1.0);
}

Powered by Google App Engine
This is Rietveld 408576698