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

Unified Diff: content/browser/media/capture/web_contents_audio_muter.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: Fix in Windows unit test. 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: content/browser/media/capture/web_contents_audio_muter.cc
diff --git a/content/browser/media/capture/web_contents_audio_muter.cc b/content/browser/media/capture/web_contents_audio_muter.cc
index 6d25d550d1878cbc4bee48b442cc6a345013e538..675a9a72441260fa4ae43086d203badc765e1da4 100644
--- a/content/browser/media/capture/web_contents_audio_muter.cc
+++ b/content/browser/media/capture/web_contents_audio_muter.cc
@@ -49,7 +49,7 @@ class AudioDiscarder : public media::AudioOutputStream {
~AudioDiscarder() override {}
void FetchAudioData(AudioSourceCallback* callback) {
- callback->OnMoreData(audio_bus_.get(), 0);
+ callback->OnMoreData(audio_bus_.get(), 0, 0);
}
// Calls FetchAudioData() at regular intervals and discards the data.
« no previous file with comments | « components/audio_modem/audio_player_unittest.cc ('k') | content/browser/renderer_host/media/audio_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698