Reland "Remove APM internal usage of EchoCancellation"
Original CL: https://webrtc-review.googlesource.com/c/src/+/97603 - Changes EchoCancellationImpl to inherit privately from EchoCancellation. - Removes usage of AudioProcessing::echo_cancellation() inside most of the audio processing module and unit tests. - Default-enables metrics collection in AEC2. The CL breaks audioproc_f backwards compatibility: It can no longer use all recorded settings (drift compensation, suppression level), but prints an error message when such settings are encountered. Revert CL: https://webrtc-review.googlesource.com/c/src/+/100305 Bug: webrtc:9535 TBR: gustaf@webrtc.org Change-Id: I9248046b3a6a82df6221e502481836948643a991 Reviewed-on: https://webrtc-review.googlesource.com/100461 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24749}
This commit is contained in:
committed by
Commit Bot
parent
92e0038c44
commit
cdf0e6d4c5
@ -193,13 +193,12 @@ struct ExperimentalNs {
|
||||
// AudioProcessing* apm = AudioProcessingBuilder().Create();
|
||||
//
|
||||
// AudioProcessing::Config config;
|
||||
// config.echo_canceller.enabled = true;
|
||||
// config.echo_canceller.mobile_mode = false;
|
||||
// config.high_pass_filter.enabled = true;
|
||||
// config.gain_controller2.enabled = true;
|
||||
// apm->ApplyConfig(config)
|
||||
//
|
||||
// apm->echo_cancellation()->enable_drift_compensation(false);
|
||||
// apm->echo_cancellation()->Enable(true);
|
||||
//
|
||||
// apm->noise_reduction()->set_level(kHighSuppression);
|
||||
// apm->noise_reduction()->Enable(true);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user