OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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_AEC3_ECHO_CANCELLER3_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_CANCELLER3_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_CANCELLER3_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_CANCELLER3_H_ |
13 | 13 |
14 #include "webrtc/base/constructormagic.h" | |
15 #include "webrtc/base/race_checker.h" | |
16 #include "webrtc/base/swap_queue.h" | |
17 #include "webrtc/modules/audio_processing/aec3/block_framer.h" | 14 #include "webrtc/modules/audio_processing/aec3/block_framer.h" |
18 #include "webrtc/modules/audio_processing/aec3/block_processor.h" | 15 #include "webrtc/modules/audio_processing/aec3/block_processor.h" |
19 #include "webrtc/modules/audio_processing/aec3/cascaded_biquad_filter.h" | 16 #include "webrtc/modules/audio_processing/aec3/cascaded_biquad_filter.h" |
20 #include "webrtc/modules/audio_processing/aec3/frame_blocker.h" | 17 #include "webrtc/modules/audio_processing/aec3/frame_blocker.h" |
21 #include "webrtc/modules/audio_processing/audio_buffer.h" | 18 #include "webrtc/modules/audio_processing/audio_buffer.h" |
22 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 19 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
23 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" | 20 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" |
| 21 #include "webrtc/rtc_base/constructormagic.h" |
| 22 #include "webrtc/rtc_base/race_checker.h" |
| 23 #include "webrtc/rtc_base/swap_queue.h" |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 | 26 |
27 // Functor for verifying the invariance of the frames being put into the render | 27 // Functor for verifying the invariance of the frames being put into the render |
28 // queue. | 28 // queue. |
29 class Aec3RenderQueueItemVerifier { | 29 class Aec3RenderQueueItemVerifier { |
30 public: | 30 public: |
31 explicit Aec3RenderQueueItemVerifier(size_t num_bands, size_t frame_length) | 31 explicit Aec3RenderQueueItemVerifier(size_t num_bands, size_t frame_length) |
32 : num_bands_(num_bands), frame_length_(frame_length) {} | 32 : num_bands_(num_bands), frame_length_(frame_length) {} |
33 | 33 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 bool saturated_microphone_signal_ GUARDED_BY(capture_race_checker_) = false; | 127 bool saturated_microphone_signal_ GUARDED_BY(capture_race_checker_) = false; |
128 std::vector<std::vector<float>> block_ GUARDED_BY(capture_race_checker_); | 128 std::vector<std::vector<float>> block_ GUARDED_BY(capture_race_checker_); |
129 std::vector<rtc::ArrayView<float>> sub_frame_view_ | 129 std::vector<rtc::ArrayView<float>> sub_frame_view_ |
130 GUARDED_BY(capture_race_checker_); | 130 GUARDED_BY(capture_race_checker_); |
131 | 131 |
132 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCanceller3); | 132 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCanceller3); |
133 }; | 133 }; |
134 } // namespace webrtc | 134 } // namespace webrtc |
135 | 135 |
136 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_CANCELLER3_H_ | 136 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_CANCELLER3_H_ |
OLD | NEW |