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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 int InitializeHandle(void* handle) const override; | 70 int InitializeHandle(void* handle) const override; |
71 int ConfigureHandle(void* handle) const override; | 71 int ConfigureHandle(void* handle) const override; |
72 void DestroyHandle(void* handle) const override; | 72 void DestroyHandle(void* handle) const override; |
73 int num_handles_required() const override; | 73 int num_handles_required() const override; |
74 int GetHandleError(void* handle) const override; | 74 int GetHandleError(void* handle) const override; |
75 | 75 |
76 void AllocateRenderQueue(); | 76 void AllocateRenderQueue(); |
77 | 77 |
78 const AudioProcessing* apm_; | 78 const AudioProcessing* apm_; |
79 CriticalSectionWrapper* crit_; | 79 CriticalSectionWrapper* crit_; |
| 80 |
80 bool drift_compensation_enabled_; | 81 bool drift_compensation_enabled_; |
81 bool metrics_enabled_; | 82 bool metrics_enabled_; |
82 SuppressionLevel suppression_level_; | 83 SuppressionLevel suppression_level_; |
83 int stream_drift_samples_; | 84 int stream_drift_samples_; |
84 bool was_stream_drift_set_; | 85 bool was_stream_drift_set_; |
85 bool stream_has_echo_; | 86 bool stream_has_echo_; |
86 bool delay_logging_enabled_; | 87 bool delay_logging_enabled_; |
87 bool extended_filter_enabled_; | 88 bool extended_filter_enabled_; |
88 bool delay_agnostic_enabled_; | 89 bool delay_agnostic_enabled_; |
89 | 90 |
90 size_t render_queue_element_max_size_; | 91 size_t render_queue_element_max_size_; |
91 std::vector<float> render_queue_buffer_; | 92 std::vector<float> render_queue_buffer_; |
92 std::vector<float> capture_queue_buffer_; | 93 std::vector<float> capture_queue_buffer_; |
93 rtc::scoped_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> | 94 rtc::scoped_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> |
94 render_signal_queue_; | 95 render_signal_queue_; |
95 }; | 96 }; |
96 | 97 |
97 } // namespace webrtc | 98 } // namespace webrtc |
98 | 99 |
99 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ | 100 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ |
OLD | NEW |