Remove the HighPassFilter interface
The functionality remains unaffected. Filter toggling is still available via webrtc::AudioProcessing::Config. Example: webrtc::AudioProcessing::Config config = apm.GetConfig(); // Read settings if (config.high_pass_filter.enabled) { ... } // Apply setting config.high_pass_filter.enabled = true; apm.ApplyConfig(); Bug: webrtc:9535 Change-Id: Ib4c4b04078bbb490ebdab9721b8c7811d73777a8 Reviewed-on: https://webrtc-review.googlesource.com/c/102541 Commit-Queue: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25198}
This commit is contained in:

committed by
Commit Bot

parent
d419db9a9e
commit
e2405c1a82
@ -1278,7 +1278,6 @@ TEST_F(ApmTest, AllProcessingDisabledByDefault) {
|
||||
EXPECT_FALSE(config.echo_canceller.enabled);
|
||||
EXPECT_FALSE(config.high_pass_filter.enabled);
|
||||
EXPECT_FALSE(apm_->gain_control()->is_enabled());
|
||||
EXPECT_FALSE(apm_->high_pass_filter()->is_enabled());
|
||||
EXPECT_FALSE(apm_->level_estimator()->is_enabled());
|
||||
EXPECT_FALSE(apm_->noise_suppression()->is_enabled());
|
||||
EXPECT_FALSE(apm_->voice_detection()->is_enabled());
|
||||
|
Reference in New Issue
Block a user