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 "webrtc/common_audio/ring_buffer.h" | 21 #include "webrtc/common_audio/ring_buffer.h" |
22 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" | 22 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
23 } | 23 } |
24 #include "webrtc/modules/audio_processing/aec/aec_core.h" | 24 #include "webrtc/modules/audio_processing/aec/aec_core.h" |
25 #include "webrtc/modules/audio_processing/aec/aec_resampler.h" | 25 #include "webrtc/modules/audio_processing/aec/aec_resampler.h" |
26 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" | 26 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" |
27 #include "webrtc/typedefs.h" | 27 #include "webrtc/typedefs.h" |
28 | 28 |
29 namespace webrtc { | 29 namespace webrtc { |
30 | 30 |
| 31 Aec::Aec() = default; |
| 32 Aec::~Aec() = default; |
| 33 |
31 // Measured delays [ms] | 34 // Measured delays [ms] |
32 // Device Chrome GTP | 35 // Device Chrome GTP |
33 // MacBook Air 10 | 36 // MacBook Air 10 |
34 // MacBook Retina 10 100 | 37 // MacBook Retina 10 100 |
35 // MacPro 30? | 38 // MacPro 30? |
36 // | 39 // |
37 // Win7 Desktop 70 80? | 40 // Win7 Desktop 70 80? |
38 // Win7 T430s 110 | 41 // Win7 T430s 110 |
39 // Win8 T420s 70 | 42 // Win8 T420s 70 |
40 // | 43 // |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 } else { | 849 } else { |
847 self->timeForDelayChange = 0; | 850 self->timeForDelayChange = 0; |
848 } | 851 } |
849 self->lastDelayDiff = delay_difference; | 852 self->lastDelayDiff = delay_difference; |
850 | 853 |
851 if (self->timeForDelayChange > 25) { | 854 if (self->timeForDelayChange > 25) { |
852 self->knownDelay = WEBRTC_SPL_MAX((int)self->filtDelay - 256, 0); | 855 self->knownDelay = WEBRTC_SPL_MAX((int)self->filtDelay - 256, 0); |
853 } | 856 } |
854 } | 857 } |
855 } // namespace webrtc | 858 } // namespace webrtc |
OLD | NEW |