OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PULSE_INPUT_H_ | 5 #ifndef MEDIA_AUDIO_PULSE_PULSE_INPUT_H_ |
6 #define MEDIA_AUDIO_PULSE_PULSE_INPUT_H_ | 6 #define MEDIA_AUDIO_PULSE_PULSE_INPUT_H_ |
7 | 7 |
8 #include <pulse/pulseaudio.h> | 8 #include <pulse/pulseaudio.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
12 #include "media/audio/agc_audio_stream.h" | 13 #include "media/audio/agc_audio_stream.h" |
13 #include "media/audio/audio_device_name.h" | 14 #include "media/audio/audio_device_name.h" |
14 #include "media/audio/audio_io.h" | 15 #include "media/audio/audio_io.h" |
15 #include "media/audio/audio_parameters.h" | 16 #include "media/audio/audio_parameters.h" |
16 #include "media/base/audio_block_fifo.h" | 17 #include "media/base/audio_block_fifo.h" |
17 | 18 |
18 namespace media { | 19 namespace media { |
19 | 20 |
20 class AudioManagerPulse; | 21 class AudioManagerPulse; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 pa_stream* handle_; | 78 pa_stream* handle_; |
78 | 79 |
79 base::ThreadChecker thread_checker_; | 80 base::ThreadChecker thread_checker_; |
80 | 81 |
81 DISALLOW_COPY_AND_ASSIGN(PulseAudioInputStream); | 82 DISALLOW_COPY_AND_ASSIGN(PulseAudioInputStream); |
82 }; | 83 }; |
83 | 84 |
84 } // namespace media | 85 } // namespace media |
85 | 86 |
86 #endif // MEDIA_AUDIO_PULSE_PULSE_INPUT_H_ | 87 #endif // MEDIA_AUDIO_PULSE_PULSE_INPUT_H_ |
OLD | NEW |