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 10 matching lines...) Expand all Loading... |
21 #include <stdlib.h> | 21 #include <stdlib.h> |
22 #include <string.h> | 22 #include <string.h> |
23 | 23 |
24 #include "webrtc/base/checks.h" | 24 #include "webrtc/base/checks.h" |
25 extern "C" { | 25 extern "C" { |
26 #include "webrtc/common_audio/ring_buffer.h" | 26 #include "webrtc/common_audio/ring_buffer.h" |
27 } | 27 } |
28 #include "webrtc/base/checks.h" | 28 #include "webrtc/base/checks.h" |
29 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" | 29 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
30 #include "webrtc/modules/audio_processing/aec/aec_common.h" | 30 #include "webrtc/modules/audio_processing/aec/aec_common.h" |
31 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h" | 31 #include "webrtc/modules/audio_processing/aec/aec_core_optimized_methods.h" |
32 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" | 32 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" |
| 33 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" |
33 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" | 34 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" |
34 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" | 35 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" |
35 #include "webrtc/typedefs.h" | 36 #include "webrtc/typedefs.h" |
36 | 37 |
37 namespace webrtc { | 38 namespace webrtc { |
38 | 39 |
39 // Buffer size (samples) | 40 // Buffer size (samples) |
40 static const size_t kBufSizePartitions = 250; // 1 second of audio in 16 kHz. | 41 static const size_t kBufSizePartitions = 250; // 1 second of audio in 16 kHz. |
41 | 42 |
42 // Metrics | 43 // Metrics |
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1956 | 1957 |
1957 int WebRtcAec_system_delay(AecCore* self) { | 1958 int WebRtcAec_system_delay(AecCore* self) { |
1958 return self->system_delay; | 1959 return self->system_delay; |
1959 } | 1960 } |
1960 | 1961 |
1961 void WebRtcAec_SetSystemDelay(AecCore* self, int delay) { | 1962 void WebRtcAec_SetSystemDelay(AecCore* self, int delay) { |
1962 assert(delay >= 0); | 1963 assert(delay >= 0); |
1963 self->system_delay = delay; | 1964 self->system_delay = delay; |
1964 } | 1965 } |
1965 } // namespace webrtc | 1966 } // namespace webrtc |
OLD | NEW |