Make new method pure virtual in the EchoControl interface

Bug: webrtc:8671
Change-Id: I673e79fae1e763131b71fceb64d7a909e662f568
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160785
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29975}
This commit is contained in:
Per Åhgren 2019-11-27 09:10:21 +01:00 committed by Commit Bot
parent 21021f022b
commit 464741276f

View File

@ -32,10 +32,9 @@ class EchoControl {
virtual void ProcessCapture(AudioBuffer* capture, bool echo_path_change) = 0;
// As above, but also returns the linear filter output.
// TODO(peah): Make pure virtual.
virtual void ProcessCapture(AudioBuffer* capture,
AudioBuffer* linear_output,
bool level_change) {}
bool level_change) = 0;
struct Metrics {
double echo_return_loss;