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

Unified Diff: media/audio/fake_audio_input_stream.cc

Issue 1487983002: Forward the number of skipped frames by the OS in audio playout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit test fixes. Created 5 years 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 458118da01c3cc54e4476ec5b1a5bcc3e8054a6e..d437d29217172286af402896b254d021d365dbe0 100644
--- a/media/audio/fake_audio_input_stream.cc
+++ b/media/audio/fake_audio_input_stream.cc
@@ -98,7 +98,7 @@ void FakeAudioInputStream::ReadAudioFromSource() {
audio_source_ = ChooseSource();
const int kNoDelay = 0;
- audio_source_->OnMoreData(audio_bus_.get(), kNoDelay);
+ audio_source_->OnMoreData(audio_bus_.get(), kNoDelay, 0);
callback_->OnData(this, audio_bus_.get(), 0, 1.0);
}

Powered by Google App Engine
This is Rietveld 408576698