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

Unified Diff: media/audio/fake_audio_input_stream.cc

Issue 1538563002: 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: Code review fix. git cl format. Rebase. 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
« no previous file with comments | « media/audio/cras/cras_unified_unittest.cc ('k') | media/audio/fake_audio_output_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « media/audio/cras/cras_unified_unittest.cc ('k') | media/audio/fake_audio_output_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698