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 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 AecLevel erle; | 58 AecLevel erle; |
59 AecLevel aNlp; | 59 AecLevel aNlp; |
60 float divergent_filter_fraction; | 60 float divergent_filter_fraction; |
61 } AecMetrics; | 61 } AecMetrics; |
62 | 62 |
63 struct AecCore; | 63 struct AecCore; |
64 | 64 |
65 class ApmDataDumper; | 65 class ApmDataDumper; |
66 | 66 |
67 typedef struct Aec { | 67 typedef struct Aec { |
| 68 Aec(); |
| 69 ~Aec(); |
| 70 |
68 std::unique_ptr<ApmDataDumper> data_dumper; | 71 std::unique_ptr<ApmDataDumper> data_dumper; |
69 | 72 |
70 int delayCtr; | 73 int delayCtr; |
71 int sampFreq; | 74 int sampFreq; |
72 int splitSampFreq; | 75 int splitSampFreq; |
73 int scSampFreq; | 76 int scSampFreq; |
74 float sampFactor; // scSampRate / sampFreq | 77 float sampFactor; // scSampRate / sampFreq |
75 short skewMode; | 78 short skewMode; |
76 int bufSizeStart; | 79 int bufSizeStart; |
77 int knownDelay; | 80 int knownDelay; |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 // - handle : Pointer to the AEC instance. | 290 // - handle : Pointer to the AEC instance. |
288 // | 291 // |
289 // Return value: | 292 // Return value: |
290 // - AecCore pointer : NULL for error. | 293 // - AecCore pointer : NULL for error. |
291 // | 294 // |
292 struct AecCore* WebRtcAec_aec_core(void* handle); | 295 struct AecCore* WebRtcAec_aec_core(void* handle); |
293 | 296 |
294 } // namespace webrtc | 297 } // namespace webrtc |
295 | 298 |
296 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_H_ | 299 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_H_ |
OLD | NEW |