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

Unified Diff: media/audio/fake_audio_output_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: Writing skipped frames to shared memory. 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_output_stream.cc
diff --git a/media/audio/fake_audio_output_stream.cc b/media/audio/fake_audio_output_stream.cc
index b919b84ccf986ecb9dd4b5a7ea7b2bc8256b935e..d91d52554367b09a49ca322d3d4e6add8292e2b5 100644
--- a/media/audio/fake_audio_output_stream.cc
+++ b/media/audio/fake_audio_output_stream.cc
@@ -63,7 +63,7 @@ void FakeAudioOutputStream::GetVolume(double* volume) {
void FakeAudioOutputStream::CallOnMoreData() {
DCHECK(audio_manager_->GetWorkerTaskRunner()->BelongsToCurrentThread());
- callback_->OnMoreData(audio_bus_.get(), 0);
+ callback_->OnMoreData(audio_bus_.get(), 0, 0);
}
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698