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_PULSE_AUDIO_MANAGER_PULSE_H_ | 5 #ifndef MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_ |
6 #define MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_ | 6 #define MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_ |
7 | 7 |
8 #include <pulse/pulseaudio.h> | 8 #include <pulse/pulseaudio.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "media/audio/audio_manager_base.h" | 14 #include "media/audio/audio_manager_base.h" |
14 | 15 |
15 namespace media { | 16 namespace media { |
16 | 17 |
17 class MEDIA_EXPORT AudioManagerPulse : public AudioManagerBase { | 18 class MEDIA_EXPORT AudioManagerPulse : public AudioManagerBase { |
18 public: | 19 public: |
19 AudioManagerPulse(AudioLogFactory* audio_log_factory); | 20 AudioManagerPulse(AudioLogFactory* audio_log_factory); |
20 ~AudioManagerPulse() override; | 21 ~AudioManagerPulse() override; |
21 | 22 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 pa_context* input_context_; | 84 pa_context* input_context_; |
84 AudioDeviceNames* devices_; | 85 AudioDeviceNames* devices_; |
85 int native_input_sample_rate_; | 86 int native_input_sample_rate_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(AudioManagerPulse); | 88 DISALLOW_COPY_AND_ASSIGN(AudioManagerPulse); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace media | 91 } // namespace media |
91 | 92 |
92 #endif // MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_ | 93 #endif // MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_ |
OLD | NEW |