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_ANDROID_OPENSLES_INPUT_H_ | 5 #ifndef MEDIA_AUDIO_ANDROID_OPENSLES_INPUT_H_ |
6 #define MEDIA_AUDIO_ANDROID_OPENSLES_INPUT_H_ | 6 #define MEDIA_AUDIO_ANDROID_OPENSLES_INPUT_H_ |
7 | 7 |
8 #include <SLES/OpenSLES.h> | 8 #include <SLES/OpenSLES.h> |
9 #include <SLES/OpenSLES_Android.h> | 9 #include <SLES/OpenSLES_Android.h> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
13 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
14 #include "media/audio/android/opensles_util.h" | 15 #include "media/audio/android/opensles_util.h" |
15 #include "media/audio/audio_io.h" | 16 #include "media/audio/audio_io.h" |
16 #include "media/audio/audio_parameters.h" | 17 #include "media/audio/audio_parameters.h" |
17 | 18 |
18 namespace media { | 19 namespace media { |
19 | 20 |
20 class AudioBus; | 21 class AudioBus; |
21 class AudioManagerAndroid; | 22 class AudioManagerAndroid; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 bool started_; | 98 bool started_; |
98 | 99 |
99 scoped_ptr<media::AudioBus> audio_bus_; | 100 scoped_ptr<media::AudioBus> audio_bus_; |
100 | 101 |
101 DISALLOW_COPY_AND_ASSIGN(OpenSLESInputStream); | 102 DISALLOW_COPY_AND_ASSIGN(OpenSLESInputStream); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace media | 105 } // namespace media |
105 | 106 |
106 #endif // MEDIA_AUDIO_ANDROID_OPENSLES_INPUT_H_ | 107 #endif // MEDIA_AUDIO_ANDROID_OPENSLES_INPUT_H_ |
OLD | NEW |