Remove APM-internal usage of EchoControlMobile

This is a sibling CL to a similar one for EchoCancellation:
https://webrtc-review.googlesource.com/c/src/+/97603

 - EchoControlMobileImpl will no longer inherit EchoControlMobile.
 - Removes usage of AudioProcessing::echo_control_mobile() inside most of
   the audio processing module and unit tests.

The CL breaks audioproc_f backwards compatibility: It can no longer
use all recorded settings (comfort noise, routing mode), but prints an
error message when unsupported settings are encountered.

Tested: audioproc_f with .wav and aecdump inputs.
Bug: webrtc:9535
Change-Id: I63c3c81bcaf44021315978e1a0f3e42173b988ce
Reviewed-on: https://webrtc-review.googlesource.com/101621
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24888}
diff --git a/modules/audio_processing/echo_control_mobile_proxy.h b/modules/audio_processing/echo_control_mobile_proxy.h
index eb5908a..13be659 100644
--- a/modules/audio_processing/echo_control_mobile_proxy.h
+++ b/modules/audio_processing/echo_control_mobile_proxy.h
@@ -11,6 +11,7 @@
 #ifndef MODULES_AUDIO_PROCESSING_ECHO_CONTROL_MOBILE_PROXY_H_
 #define MODULES_AUDIO_PROCESSING_ECHO_CONTROL_MOBILE_PROXY_H_
 
+#include "modules/audio_processing/echo_control_mobile_impl.h"
 #include "modules/audio_processing/include/audio_processing.h"
 #include "rtc_base/constructormagic.h"
 #include "rtc_base/scoped_ref_ptr.h"
@@ -21,7 +22,7 @@
 class EchoControlMobileProxy : public EchoControlMobile {
  public:
   EchoControlMobileProxy(AudioProcessing* audio_processing,
-                         EchoControlMobile* echo_control_mobile);
+                         EchoControlMobileImpl* echo_control_mobile);
   ~EchoControlMobileProxy() override;
 
   bool is_enabled() const override;
@@ -35,7 +36,7 @@
 
  private:
   AudioProcessing* audio_processing_;
-  EchoControlMobile* echo_control_mobile_;
+  EchoControlMobileImpl* echo_control_mobile_;
 
   RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoControlMobileProxy);
 };