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

Unified Diff: content/browser/media/capture/web_contents_audio_muter.cc

Issue 481193003: Remove AudioBuffersState usage in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix audio muter build buster. Created 6 years, 3 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: 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 461883561410910bf981159fdbc61ae5b8d50734..52aa3a60798a95319375a15b43aa238a2fb377ab 100644
--- a/content/browser/media/capture/web_contents_audio_muter.cc
+++ b/content/browser/media/capture/web_contents_audio_muter.cc
@@ -47,7 +47,7 @@ class AudioDiscarder : public media::AudioOutputStream {
static void FetchAudioData(AudioSourceCallback* callback,
media::AudioBus* audio_bus) {
- callback->OnMoreData(audio_bus, media::AudioBuffersState());
+ callback->OnMoreData(audio_bus, 0);
}
// Calls FetchAudioData() at regular intervals and discards the data.
« no previous file with comments | « components/copresence/mediums/audio/audio_player_unittest.cc ('k') | content/browser/renderer_host/media/audio_sync_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698