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

Unified Diff: media/audio/audio_io.h

Issue 645923002: Add support for audio input mute detection on all platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/audio_io.h
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h
index 105e32eb362b7dd8caccd40bc8037f74705ddf40..cee6eca37a46a90202d1c766b56295f2803e8ee3 100644
--- a/media/audio/audio_io.h
+++ b/media/audio/audio_io.h
@@ -164,6 +164,9 @@ class MEDIA_EXPORT AudioInputStream {
// Returns the Automatic Gain Control (AGC) state.
virtual bool GetAutomaticGainControl() = 0;
+
+ // Returns the current muting state for the microphone.
+ virtual bool IsMuted() { return false; };
tommi (sloooow) - chröme 2014/10/10 15:54:36 will this be made pure virtual in the next patch s
henrika (OOO until Aug 14) 2014/10/13 12:27:17 Yes it will.
};
} // namespace media
« no previous file with comments | « no previous file | media/audio/win/audio_low_latency_input_win.h » ('j') | media/audio/win/audio_low_latency_input_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698