Index: media/audio/linux/audio_manager_linux.h |
=================================================================== |
--- media/audio/linux/audio_manager_linux.h (revision 104076) |
+++ media/audio/linux/audio_manager_linux.h (working copy) |
@@ -39,9 +39,18 @@ |
virtual ~AudioManagerLinux(); |
private: |
- // Helper method to query if there is any valid input device |
- bool HasAnyValidAudioInputDevice(void** hint); |
+ // Types of the stream. |
henrika (OOO until Aug 14)
2011/10/07 12:07:51
Comment not really needed.
no longer working on chromium
2011/10/10 13:49:24
Done.
|
+ enum StreamType { |
+ kStreamPlayback = 0, |
+ kStreamCapture, |
+ }; |
+ // Helper methods to query if there is any valid input device |
henrika (OOO until Aug 14)
2011/10/07 12:07:51
Do you mean "if there are any valid input devices"
no longer working on chromium
2011/10/10 13:49:24
Done.
|
+ void GetAlsaAudioInputDevices(media::AudioDeviceNames* device_names); |
henrika (OOO until Aug 14)
2011/10/07 12:07:51
Some more comments here perhaps?
no longer working on chromium
2011/10/10 13:49:24
Done.
|
+ void GetAlsaDevicesInfo(void** hint, media::AudioDeviceNames* device_names); |
+ bool IsAlsaDeviceAvailable(const char* device_name); |
+ bool HasAnyAlsaAudioDevice(StreamType stream); |
+ |
scoped_ptr<AlsaWrapper> wrapper_; |
std::set<AudioOutputStream*> active_streams_; |