| 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" | 27 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
| 28 #include "webrtc/modules/audio_processing/aec/aec_common.h" | 28 #include "webrtc/modules/audio_processing/aec/aec_common.h" |
| 29 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h" | 29 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h" |
| 30 extern "C" { | 30 extern "C" { |
| 31 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" | 31 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" |
| 32 } | 32 } |
| 33 #include "webrtc/modules/audio_processing/logging/aec_logging.h" | 33 #include "webrtc/modules/audio_processing/logging/aec_logging.h" |
| 34 extern "C" { | 34 extern "C" { |
| 35 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" | 35 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" |
| 36 #include "webrtc/modules/audio_processing/utility/ring_buffer.h" |
| 36 } | 37 } |
| 37 #include "webrtc/modules/audio_processing/utility/ring_buffer.h" | |
| 38 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" | 38 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" |
| 39 #include "webrtc/typedefs.h" | 39 #include "webrtc/typedefs.h" |
| 40 | 40 |
| 41 namespace webrtc { | 41 namespace webrtc { |
| 42 | 42 |
| 43 // Buffer size (samples) | 43 // Buffer size (samples) |
| 44 static const size_t kBufSizePartitions = 250; // 1 second of audio in 16 kHz. | 44 static const size_t kBufSizePartitions = 250; // 1 second of audio in 16 kHz. |
| 45 | 45 |
| 46 // Metrics | 46 // Metrics |
| 47 static const size_t kSubCountLen = 4; | 47 static const size_t kSubCountLen = 4; |
| (...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1890 | 1890 |
| 1891 int WebRtcAec_system_delay(AecCore* self) { | 1891 int WebRtcAec_system_delay(AecCore* self) { |
| 1892 return self->system_delay; | 1892 return self->system_delay; |
| 1893 } | 1893 } |
| 1894 | 1894 |
| 1895 void WebRtcAec_SetSystemDelay(AecCore* self, int delay) { | 1895 void WebRtcAec_SetSystemDelay(AecCore* self, int delay) { |
| 1896 assert(delay >= 0); | 1896 assert(delay >= 0); |
| 1897 self->system_delay = delay; | 1897 self->system_delay = delay; |
| 1898 } | 1898 } |
| 1899 } // namespace webrtc | 1899 } // namespace webrtc |
| OLD | NEW |