| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ | 5 #ifndef MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ |
| 6 #define MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ | 6 #define MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 virtual void GetAudioOutputDeviceNames( | 30 virtual void GetAudioOutputDeviceNames( |
| 31 AudioDeviceNames* device_names) OVERRIDE; | 31 AudioDeviceNames* device_names) OVERRIDE; |
| 32 virtual AudioParameters GetInputStreamParameters( | 32 virtual AudioParameters GetInputStreamParameters( |
| 33 const std::string& device_id) OVERRIDE; | 33 const std::string& device_id) OVERRIDE; |
| 34 | 34 |
| 35 // Implementation of AudioManagerBase. | 35 // Implementation of AudioManagerBase. |
| 36 virtual AudioOutputStream* MakeLinearOutputStream( | 36 virtual AudioOutputStream* MakeLinearOutputStream( |
| 37 const AudioParameters& params) OVERRIDE; | 37 const AudioParameters& params) OVERRIDE; |
| 38 virtual AudioOutputStream* MakeLowLatencyOutputStream( | 38 virtual AudioOutputStream* MakeLowLatencyOutputStream( |
| 39 const AudioParameters& params, | 39 const AudioParameters& params, |
| 40 const std::string& device_id, | 40 const std::string& device_id) OVERRIDE; |
| 41 const std::string& input_device_id) OVERRIDE; | |
| 42 virtual AudioInputStream* MakeLinearInputStream( | 41 virtual AudioInputStream* MakeLinearInputStream( |
| 43 const AudioParameters& params, const std::string& device_id) OVERRIDE; | 42 const AudioParameters& params, const std::string& device_id) OVERRIDE; |
| 44 virtual AudioInputStream* MakeLowLatencyInputStream( | 43 virtual AudioInputStream* MakeLowLatencyInputStream( |
| 45 const AudioParameters& params, const std::string& device_id) OVERRIDE; | 44 const AudioParameters& params, const std::string& device_id) OVERRIDE; |
| 46 | 45 |
| 47 protected: | 46 protected: |
| 48 virtual ~AudioManagerAlsa(); | 47 virtual ~AudioManagerAlsa(); |
| 49 | 48 |
| 50 virtual AudioParameters GetPreferredOutputStreamParameters( | 49 virtual AudioParameters GetPreferredOutputStreamParameters( |
| 51 const std::string& output_device_id, | 50 const std::string& output_device_id, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 const std::string& device_id); | 84 const std::string& device_id); |
| 86 | 85 |
| 87 scoped_ptr<AlsaWrapper> wrapper_; | 86 scoped_ptr<AlsaWrapper> wrapper_; |
| 88 | 87 |
| 89 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa); | 88 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa); |
| 90 }; | 89 }; |
| 91 | 90 |
| 92 } // namespace media | 91 } // namespace media |
| 93 | 92 |
| 94 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ | 93 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ |
| OLD | NEW |