OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/criticalsection.h" | 18 #include "webrtc/base/criticalsection.h" |
19 #include "webrtc/base/scoped_ptr.h" | 19 #include "webrtc/base/scoped_ptr.h" |
20 #include "webrtc/base/thread_annotations.h" | 20 #include "webrtc/base/thread_annotations.h" |
21 #include "webrtc/modules/audio_processing/audio_buffer.h" | 21 #include "webrtc/modules/audio_processing/audio_buffer.h" |
22 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 22 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
23 #include "webrtc/system_wrappers/include/file_wrapper.h" | 23 #include "webrtc/system_wrappers/include/file_wrapper.h" |
24 | 24 |
25 #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP | 25 #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP |
26 // Files generated at build-time by the protobuf compiler. | 26 // Files generated at build-time by the protobuf compiler. |
27 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 27 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
28 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" | 28 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" |
29 #else | 29 #else |
30 #include "webrtc/audio_processing/debug.pb.h" | 30 #include "webrtc/modules/audio_processing/debug.pb.h" |
31 #endif | 31 #endif |
32 #endif // WEBRTC_AUDIOPROC_DEBUG_DUMP | 32 #endif // WEBRTC_AUDIOPROC_DEBUG_DUMP |
33 | 33 |
34 namespace webrtc { | 34 namespace webrtc { |
35 | 35 |
36 class AgcManagerDirect; | 36 class AgcManagerDirect; |
37 class AudioConverter; | 37 class AudioConverter; |
38 | 38 |
39 template<typename T> | 39 template<typename T> |
40 class Beamformer; | 40 class Beamformer; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 | 338 |
339 struct ApmRenderState { | 339 struct ApmRenderState { |
340 rtc::scoped_ptr<AudioConverter> render_converter; | 340 rtc::scoped_ptr<AudioConverter> render_converter; |
341 rtc::scoped_ptr<AudioBuffer> render_audio; | 341 rtc::scoped_ptr<AudioBuffer> render_audio; |
342 } render_ GUARDED_BY(crit_render_); | 342 } render_ GUARDED_BY(crit_render_); |
343 }; | 343 }; |
344 | 344 |
345 } // namespace webrtc | 345 } // namespace webrtc |
346 | 346 |
347 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 347 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
OLD | NEW |