OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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_AEC_STATE_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_AEC_STATE_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_AEC_STATE_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_AEC_STATE_H_ |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <memory> | 15 #include <memory> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
| 18 #include "webrtc/api/array_view.h" |
18 #include "webrtc/modules/audio_processing/aec3/aec3_common.h" | 19 #include "webrtc/modules/audio_processing/aec3/aec3_common.h" |
19 #include "webrtc/modules/audio_processing/aec3/echo_path_variability.h" | 20 #include "webrtc/modules/audio_processing/aec3/echo_path_variability.h" |
20 #include "webrtc/modules/audio_processing/aec3/erl_estimator.h" | 21 #include "webrtc/modules/audio_processing/aec3/erl_estimator.h" |
21 #include "webrtc/modules/audio_processing/aec3/erle_estimator.h" | 22 #include "webrtc/modules/audio_processing/aec3/erle_estimator.h" |
22 #include "webrtc/modules/audio_processing/aec3/render_buffer.h" | 23 #include "webrtc/modules/audio_processing/aec3/render_buffer.h" |
23 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 24 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
24 #include "webrtc/rtc_base/array_view.h" | |
25 #include "webrtc/rtc_base/constructormagic.h" | 25 #include "webrtc/rtc_base/constructormagic.h" |
26 #include "webrtc/rtc_base/optional.h" | 26 #include "webrtc/rtc_base/optional.h" |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 | 29 |
30 class ApmDataDumper; | 30 class ApmDataDumper; |
31 | 31 |
32 // Handles the state and the conditions for the echo removal functionality. | 32 // Handles the state and the conditions for the echo removal functionality. |
33 class AecState { | 33 class AecState { |
34 public: | 34 public: |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 EchoAudibility echo_audibility_; | 147 EchoAudibility echo_audibility_; |
148 const AudioProcessing::Config::EchoCanceller3 config_; | 148 const AudioProcessing::Config::EchoCanceller3 config_; |
149 float reverb_decay_; | 149 float reverb_decay_; |
150 | 150 |
151 RTC_DISALLOW_COPY_AND_ASSIGN(AecState); | 151 RTC_DISALLOW_COPY_AND_ASSIGN(AecState); |
152 }; | 152 }; |
153 | 153 |
154 } // namespace webrtc | 154 } // namespace webrtc |
155 | 155 |
156 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_AEC_STATE_H_ | 156 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_AEC_STATE_H_ |
OLD | NEW |