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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; | 34 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; |
35 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; | 35 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; |
36 AudioParameters GetInputStreamParameters( | 36 AudioParameters GetInputStreamParameters( |
37 const std::string& device_id) override; | 37 const std::string& device_id) override; |
38 | 38 |
39 // Implementation of AudioManagerBase. | 39 // Implementation of AudioManagerBase. |
40 AudioOutputStream* MakeLinearOutputStream( | 40 AudioOutputStream* MakeLinearOutputStream( |
41 const AudioParameters& params) override; | 41 const AudioParameters& params) override; |
42 AudioOutputStream* MakeLowLatencyOutputStream( | 42 AudioOutputStream* MakeLowLatencyOutputStream( |
43 const AudioParameters& params, | 43 const AudioParameters& params, |
44 const std::string& device_id) override; | 44 const std::string& device_id, |
| 45 const StatisticsCallback& statistics_callback) override; |
45 AudioInputStream* MakeLinearInputStream( | 46 AudioInputStream* MakeLinearInputStream( |
46 const AudioParameters& params, | 47 const AudioParameters& params, |
47 const std::string& device_id) override; | 48 const std::string& device_id) override; |
48 AudioInputStream* MakeLowLatencyInputStream( | 49 AudioInputStream* MakeLowLatencyInputStream( |
49 const AudioParameters& params, | 50 const AudioParameters& params, |
50 const std::string& device_id) override; | 51 const std::string& device_id) override; |
51 | 52 |
52 protected: | 53 protected: |
53 ~AudioManagerAlsa() override; | 54 ~AudioManagerAlsa() override; |
54 | 55 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 const std::string& device_id); | 91 const std::string& device_id); |
91 | 92 |
92 std::unique_ptr<AlsaWrapper> wrapper_; | 93 std::unique_ptr<AlsaWrapper> wrapper_; |
93 | 94 |
94 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa); | 95 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa); |
95 }; | 96 }; |
96 | 97 |
97 } // namespace media | 98 } // namespace media |
98 | 99 |
99 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ | 100 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ |
OLD | NEW |