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

Unified Diff: media/audio/cras/cras_input.h

Issue 2144333002: MuteSource Audio During Full Screen Cast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mute system audio for getUserMedia(audio:System) Created 4 years, 5 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: media/audio/cras/cras_input.h
diff --git a/media/audio/cras/cras_input.h b/media/audio/cras/cras_input.h
index 7dfe215f8896abc4457c15fd064f4d097e37059b..e66a8f1a38b4aab8e1be4b73724090afc5ddb475 100644
--- a/media/audio/cras/cras_input.h
+++ b/media/audio/cras/cras_input.h
@@ -111,6 +111,9 @@ class MEDIA_EXPORT CrasInputStream : public AgcAudioStream<AudioInputStream> {
// True if the stream is a system-wide loopback stream.
bool is_loopback_;
+ // True if we want to mute system audio during capturing.
+ bool mute_system_audio_;
+
std::unique_ptr<AudioBus> audio_bus_;
DISALLOW_COPY_AND_ASSIGN(CrasInputStream);

Powered by Google App Engine
This is Rietveld 408576698