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 <memory> | 15 #include <memory> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/base/criticalsection.h" | 19 #include "webrtc/base/criticalsection.h" |
| 20 #include "webrtc/base/ignore_wundef.h" |
20 #include "webrtc/base/thread_annotations.h" | 21 #include "webrtc/base/thread_annotations.h" |
21 #include "webrtc/modules/audio_processing/audio_buffer.h" | 22 #include "webrtc/modules/audio_processing/audio_buffer.h" |
22 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 23 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
23 #include "webrtc/system_wrappers/include/file_wrapper.h" | 24 #include "webrtc/system_wrappers/include/file_wrapper.h" |
24 | 25 |
25 #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP | 26 #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP |
26 // Files generated at build-time by the protobuf compiler. | 27 // Files generated at build-time by the protobuf compiler. |
| 28 RTC_PUSH_IGNORING_WUNDEF() |
27 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 29 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
28 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" | 30 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" |
29 #else | 31 #else |
30 #include "webrtc/modules/audio_processing/debug.pb.h" | 32 #include "webrtc/modules/audio_processing/debug.pb.h" |
31 #endif | 33 #endif |
| 34 RTC_POP_IGNORING_WUNDEF() |
32 #endif // WEBRTC_AUDIOPROC_DEBUG_DUMP | 35 #endif // WEBRTC_AUDIOPROC_DEBUG_DUMP |
33 | 36 |
34 namespace webrtc { | 37 namespace webrtc { |
35 | 38 |
36 class AgcManagerDirect; | 39 class AgcManagerDirect; |
37 class AudioConverter; | 40 class AudioConverter; |
38 | 41 |
39 class NonlinearBeamformer; | 42 class NonlinearBeamformer; |
40 | 43 |
41 class AudioProcessingImpl : public AudioProcessing { | 44 class AudioProcessingImpl : public AudioProcessing { |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 ApmRenderState(); | 351 ApmRenderState(); |
349 ~ApmRenderState(); | 352 ~ApmRenderState(); |
350 std::unique_ptr<AudioConverter> render_converter; | 353 std::unique_ptr<AudioConverter> render_converter; |
351 std::unique_ptr<AudioBuffer> render_audio; | 354 std::unique_ptr<AudioBuffer> render_audio; |
352 } render_ GUARDED_BY(crit_render_); | 355 } render_ GUARDED_BY(crit_render_); |
353 }; | 356 }; |
354 | 357 |
355 } // namespace webrtc | 358 } // namespace webrtc |
356 | 359 |
357 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 360 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
OLD | NEW |