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 25 matching lines...) Expand all Loading... |
36 // EchoCancellation implementation. | 36 // EchoCancellation implementation. |
37 bool is_enabled() const override; | 37 bool is_enabled() const override; |
38 int stream_drift_samples() const override; | 38 int stream_drift_samples() const override; |
39 SuppressionLevel suppression_level() const override; | 39 SuppressionLevel suppression_level() const override; |
40 bool is_drift_compensation_enabled() const override; | 40 bool is_drift_compensation_enabled() const override; |
41 | 41 |
42 void Initialize(int sample_rate_hz, | 42 void Initialize(int sample_rate_hz, |
43 size_t num_reverse_channels_, | 43 size_t num_reverse_channels_, |
44 size_t num_output_channels_, | 44 size_t num_output_channels_, |
45 size_t num_proc_channels_); | 45 size_t num_proc_channels_); |
46 void SetExtraOptions(const webrtc::Config& config); | 46 void SetExtraOptions(const Config& config); |
47 bool is_delay_agnostic_enabled() const; | 47 bool is_delay_agnostic_enabled() const; |
48 bool is_extended_filter_enabled() const; | 48 bool is_extended_filter_enabled() const; |
49 bool is_aec3_enabled() const; | 49 bool is_aec3_enabled() const; |
50 std::string GetExperimentsDescription(); | 50 std::string GetExperimentsDescription(); |
51 bool is_refined_adaptive_filter_enabled() const; | 51 bool is_refined_adaptive_filter_enabled() const; |
52 | 52 |
53 // Checks whether the module is enabled. Must only be | 53 // Checks whether the module is enabled. Must only be |
54 // called from the render side of APM as otherwise | 54 // called from the render side of APM as otherwise |
55 // deadlocks may occur. | 55 // deadlocks may occur. |
56 bool is_enabled_render_side_query() const; | 56 bool is_enabled_render_side_query() const; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 std::vector<std::unique_ptr<Canceller>> cancellers_; | 117 std::vector<std::unique_ptr<Canceller>> cancellers_; |
118 std::unique_ptr<StreamProperties> stream_properties_; | 118 std::unique_ptr<StreamProperties> stream_properties_; |
119 | 119 |
120 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); | 120 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); |
121 }; | 121 }; |
122 | 122 |
123 } // namespace webrtc | 123 } // namespace webrtc |
124 | 124 |
125 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ | 125 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ |
OLD | NEW |