Chromium Code Reviews| Index: media/audio/linux/alsa_input.h |
| =================================================================== |
| --- media/audio/linux/alsa_input.h (revision 113173) |
| +++ media/audio/linux/alsa_input.h (working copy) |
| @@ -16,6 +16,7 @@ |
| #include "media/audio/audio_parameters.h" |
| class AlsaWrapper; |
| +class AudioManagerLinux; |
| // Provides an input stream for audio capture based on the ALSA PCM interface. |
| // This object is not thread safe and all methods should be invoked in the |
| @@ -29,7 +30,8 @@ |
| // Create a PCM Output stream for the ALSA device identified by |
| // |device_name|. If unsure of what to use for |device_name|, use |
| // |kAutoSelectDevice|. |
| - AlsaPcmInputStream(const std::string& device_name, |
| + AlsaPcmInputStream(AudioManagerLinux* audio_manager, |
| + const std::string& device_name, |
| const AudioParameters& params, |
| AlsaWrapper* wrapper); |
| virtual ~AlsaPcmInputStream(); |
| @@ -54,6 +56,7 @@ |
| // Utility function for talking with the ALSA API. |
| snd_pcm_sframes_t GetCurrentDelay(); |
| + AudioManagerLinux* audio_manager_; |
|
scherkus (not reviewing)
2011/12/09 22:47:30
document that this is not reffed?
tommi (sloooow) - chröme
2011/12/10 00:11:14
Done.
|
| std::string device_name_; |
| AudioParameters params_; |
| int bytes_per_packet_; |