Make GetConfig() part of the AudioProcessing interface

BUG=chromium:708475
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng

Review-Url: https://codereview.webrtc.org/2802603003
Cr-Commit-Position: refs/heads/master@{#17540}
This commit is contained in:
henrik.lundin
2017-04-05 05:48:24 -07:00
committed by Commit bot
parent 368f5cf27e
commit adf0635ed5
4 changed files with 12 additions and 2 deletions

View File

@ -134,9 +134,9 @@ class AudioProcessingImpl : public AudioProcessing {
NoiseSuppression* noise_suppression() const override;
VoiceDetection* voice_detection() const override;
// TODO(peah): Remove these two methods once the new API allows that.
// TODO(peah): Remove MutateConfig once the new API allows that.
void MutateConfig(rtc::FunctionView<void(AudioProcessing::Config*)> mutator);
AudioProcessing::Config GetConfig() const;
AudioProcessing::Config GetConfig() const override;
protected:
// Overridden in a mock.