| 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 1864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1875 if (config_.high_pass_filter.enabled) { | 1875 if (config_.high_pass_filter.enabled) { |
| 1876 private_submodules_->low_cut_filter.reset( | 1876 private_submodules_->low_cut_filter.reset( |
| 1877 new LowCutFilter(num_proc_channels(), proc_sample_rate_hz())); | 1877 new LowCutFilter(num_proc_channels(), proc_sample_rate_hz())); |
| 1878 } else { | 1878 } else { |
| 1879 private_submodules_->low_cut_filter.reset(); | 1879 private_submodules_->low_cut_filter.reset(); |
| 1880 } | 1880 } |
| 1881 } | 1881 } |
| 1882 | 1882 |
| 1883 void AudioProcessingImpl::InitializeEchoCanceller3() { | 1883 void AudioProcessingImpl::InitializeEchoCanceller3() { |
| 1884 if (capture_nonlocked_.echo_canceller3_enabled) { | 1884 if (capture_nonlocked_.echo_canceller3_enabled) { |
| 1885 private_submodules_->echo_canceller3.reset( | 1885 private_submodules_->echo_canceller3.reset(new EchoCanceller3( |
| 1886 new EchoCanceller3(proc_sample_rate_hz(), true)); | 1886 config_.echo_canceller3, proc_sample_rate_hz(), true)); |
| 1887 } else { | 1887 } else { |
| 1888 private_submodules_->echo_canceller3.reset(); | 1888 private_submodules_->echo_canceller3.reset(); |
| 1889 } | 1889 } |
| 1890 } | 1890 } |
| 1891 | 1891 |
| 1892 void AudioProcessingImpl::InitializeGainController2() { | 1892 void AudioProcessingImpl::InitializeGainController2() { |
| 1893 if (capture_nonlocked_.gain_controller2_enabled) { | 1893 if (capture_nonlocked_.gain_controller2_enabled) { |
| 1894 private_submodules_->gain_controller2.reset( | 1894 private_submodules_->gain_controller2.reset( |
| 1895 new GainController2(proc_sample_rate_hz())); | 1895 new GainController2(proc_sample_rate_hz())); |
| 1896 } else { | 1896 } else { |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2260 previous_agc_level(0), | 2260 previous_agc_level(0), |
| 2261 echo_path_gain_change(false) {} | 2261 echo_path_gain_change(false) {} |
| 2262 | 2262 |
| 2263 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default; | 2263 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default; |
| 2264 | 2264 |
| 2265 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default; | 2265 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default; |
| 2266 | 2266 |
| 2267 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default; | 2267 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default; |
| 2268 | 2268 |
| 2269 } // namespace webrtc | 2269 } // namespace webrtc |
| OLD | NEW |