Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: webrtc/modules/audio_processing/audio_processing_impl.cc

Issue 2967603002: Added the ability to adjust the AEC3 performance for large rooms (Closed)
Patch Set: Changes in response to reviewer commments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after
1874 if (config_.high_pass_filter.enabled) { 1874 if (config_.high_pass_filter.enabled) {
1875 private_submodules_->low_cut_filter.reset( 1875 private_submodules_->low_cut_filter.reset(
1876 new LowCutFilter(num_proc_channels(), proc_sample_rate_hz())); 1876 new LowCutFilter(num_proc_channels(), proc_sample_rate_hz()));
1877 } else { 1877 } else {
1878 private_submodules_->low_cut_filter.reset(); 1878 private_submodules_->low_cut_filter.reset();
1879 } 1879 }
1880 } 1880 }
1881 1881
1882 void AudioProcessingImpl::InitializeEchoCanceller3() { 1882 void AudioProcessingImpl::InitializeEchoCanceller3() {
1883 if (capture_nonlocked_.echo_canceller3_enabled) { 1883 if (capture_nonlocked_.echo_canceller3_enabled) {
1884 private_submodules_->echo_canceller3.reset( 1884 private_submodules_->echo_canceller3.reset(new EchoCanceller3(
1885 new EchoCanceller3(proc_sample_rate_hz(), true)); 1885 config_.echo_canceller3, proc_sample_rate_hz(), true));
1886 } else { 1886 } else {
1887 private_submodules_->echo_canceller3.reset(); 1887 private_submodules_->echo_canceller3.reset();
1888 } 1888 }
1889 } 1889 }
1890 1890
1891 void AudioProcessingImpl::InitializeGainController2() { 1891 void AudioProcessingImpl::InitializeGainController2() {
1892 if (capture_nonlocked_.gain_controller2_enabled) { 1892 if (capture_nonlocked_.gain_controller2_enabled) {
1893 private_submodules_->gain_controller2.reset( 1893 private_submodules_->gain_controller2.reset(
1894 new GainController2(proc_sample_rate_hz())); 1894 new GainController2(proc_sample_rate_hz()));
1895 } else { 1895 } else {
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2258 split_rate(kSampleRate16kHz), 2258 split_rate(kSampleRate16kHz),
2259 echo_path_gain_change(false) {} 2259 echo_path_gain_change(false) {}
2260 2260
2261 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default; 2261 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default;
2262 2262
2263 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default; 2263 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default;
2264 2264
2265 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default; 2265 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default;
2266 2266
2267 } // namespace webrtc 2267 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698