| Index: media/audio/audio_manager.h
|
| diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
|
| index 2afc78902f9680a5096390ea04e8a4f483fa76de..370fd8e8e05f8d02d19ace39f68ba3b7407c1e62 100644
|
| --- a/media/audio/audio_manager.h
|
| +++ b/media/audio/audio_manager.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/string16.h"
|
| +#include "base/task.h"
|
| #include "media/audio/audio_parameters.h"
|
|
|
| class AudioInputStream;
|
| @@ -34,6 +35,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.
|
| //
|
| @@ -103,4 +114,6 @@ class AudioManager {
|
| static AudioManager* CreateAudioManager();
|
| };
|
|
|
| +DISABLE_RUNNABLE_METHOD_REFCOUNT(AudioManager);
|
| +
|
| #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_
|
|
|