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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 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 | |
54 // called from the render side of APM as otherwise | |
55 // deadlocks may occur. | |
56 bool is_enabled_render_side_query() const; | |
57 | |
58 // Reads render side data that has been queued on the render call. | 53 // Reads render side data that has been queued on the render call. |
59 // Called holding the capture lock. | 54 // Called holding the capture lock. |
60 void ReadQueuedRenderData(); | 55 void ReadQueuedRenderData(); |
61 | 56 |
62 // Returns the system delay of the first AEC component. | 57 // Returns the system delay of the first AEC component. |
63 int GetSystemDelayInSamples() const; | 58 int GetSystemDelayInSamples() const; |
64 | 59 |
65 private: | 60 private: |
66 class Canceller; | 61 class Canceller; |
67 struct StreamProperties; | 62 struct StreamProperties; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 111 |
117 std::vector<std::unique_ptr<Canceller>> cancellers_; | 112 std::vector<std::unique_ptr<Canceller>> cancellers_; |
118 std::unique_ptr<StreamProperties> stream_properties_; | 113 std::unique_ptr<StreamProperties> stream_properties_; |
119 | 114 |
120 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); | 115 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); |
121 }; | 116 }; |
122 | 117 |
123 } // namespace webrtc | 118 } // namespace webrtc |
124 | 119 |
125 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ | 120 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ |
OLD | NEW |