From b394a565ab89dd788808d51fd3dce1b592ff952f Mon Sep 17 00:00:00 2001 From: Gustaf Ullberg Date: Fri, 25 Oct 2019 09:40:50 +0200 Subject: [PATCH] Cleanup of EchoControl interface after downstream fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: b/130016532 Change-Id: I94e92974c290e7080ab5c88fb2a91101a9856124 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158401 Reviewed-by: Per Ã…hgren Commit-Queue: Gustaf Ullberg Cr-Commit-Position: refs/heads/master@{#29608} --- api/audio/echo_control.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/api/audio/echo_control.h b/api/audio/echo_control.h index 9872889204..d16c1ff086 100644 --- a/api/audio/echo_control.h +++ b/api/audio/echo_control.h @@ -39,11 +39,7 @@ class EchoControl { virtual Metrics GetMetrics() const = 0; // Provides an optional external estimate of the audio buffer delay. - virtual void SetAudioBufferDelay(size_t delay_ms) {} - virtual void SetAudioBufferDelay(int delay_ms) { - // Default to old implementation. - SetAudioBufferDelay(static_cast(delay_ms)); - } + virtual void SetAudioBufferDelay(int delay_ms) = 0; // Returns wheter the signal is altered. virtual bool ActiveProcessing() const = 0;