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

Unified Diff: media/audio/audio_manager.h

Issue 583833008: Set keyboard mic effect if available. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 915308ef77d89cfea1470ee0b1696d44b5b94e12..7705cdb804ee516b254beb0fe8d35d51a61f738c 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -177,6 +177,11 @@ class MEDIA_EXPORT AudioManager {
virtual scoped_ptr<AudioLog> CreateAudioLog(
AudioLogFactory::AudioComponent component) = 0;
+ // Informs the audio manager that the system has support for a keyboard mic.
+ // This information will be passed on in the return value of
+ // GetInputStreamParameters as an effect. Only supported on ChromeOS.
+ virtual void SetHasKeyboardMic() = 0;
+
protected:
AudioManager();

Powered by Google App Engine
This is Rietveld 408576698