Delete unused function webrtc::AudioProcessing::MutateConfig
Bug: None Change-Id: Ibc70e5246a3f7b89775c65a19c808c1f030b8ac6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/205522 Reviewed-by: Per Åhgren <peah@webrtc.org> Commit-Queue: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33147}
This commit is contained in:
parent
6f75f6b3bd
commit
53610223a8
@ -1574,14 +1574,6 @@ void AudioProcessingImpl::DetachAecDump() {
|
||||
}
|
||||
}
|
||||
|
||||
void AudioProcessingImpl::MutateConfig(
|
||||
rtc::FunctionView<void(AudioProcessing::Config*)> mutator) {
|
||||
MutexLock lock_render(&mutex_render_);
|
||||
MutexLock lock_capture(&mutex_capture_);
|
||||
mutator(&config_);
|
||||
ApplyConfig(config_);
|
||||
}
|
||||
|
||||
AudioProcessing::Config AudioProcessingImpl::GetConfig() const {
|
||||
MutexLock lock_render(&mutex_render_);
|
||||
MutexLock lock_capture(&mutex_capture_);
|
||||
|
||||
@ -133,8 +133,6 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
return stats_reporter_.GetStatistics();
|
||||
}
|
||||
|
||||
// TODO(peah): Remove MutateConfig once the new API allows that.
|
||||
void MutateConfig(rtc::FunctionView<void(AudioProcessing::Config*)> mutator);
|
||||
AudioProcessing::Config GetConfig() const override;
|
||||
|
||||
protected:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user