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

Unified Diff: media/audio/audio_manager.h

Issue 6602012: Adds method to invoke platform provided audio input UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 10 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
« no previous file with comments | « no previous file | media/audio/audio_manager_base.h » ('j') | media/audio/audio_manager_base.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 2afc78902f9680a5096390ea04e8a4f483fa76de..3a570ad888bfc36d27da8cd65bdc3aa585c9b8ef 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -34,6 +34,16 @@ class AudioManager {
// input device for this computer.
virtual string16 GetAudioInputDeviceModel() = 0;
+ // Returns true if the platform specific audio input settings UI is known
+ // and can be shown.
+ virtual bool CanShowAudioInputSettings() = 0;
+
+ // Opens the platform default audio input settings UI.
+ // Note: This could invoke an external application/preferences pane, so
+ // ideally must not be called from the UI thread or other time sensitive
+ // threads to avoid blocking the rest of the application.
+ virtual void ShowAudioInputSettings() = 0;
+
// Factory for all the supported stream formats. |params| defines parameters
// of the audio stream to be created.
//
« no previous file with comments | « no previous file | media/audio/audio_manager_base.h » ('j') | media/audio/audio_manager_base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698