Index: webrtc/media/engine/webrtcvoiceengine.h |
diff --git a/webrtc/media/engine/webrtcvoiceengine.h b/webrtc/media/engine/webrtcvoiceengine.h |
index b675284e55849a0c1a6242d0168083a148a1419e..cd832a1c0801835f6c33b7b0bb68d5b563931fd4 100644 |
--- a/webrtc/media/engine/webrtcvoiceengine.h |
+++ b/webrtc/media/engine/webrtcvoiceengine.h |
@@ -101,6 +101,7 @@ class WebRtcVoiceEngine final : public webrtc::TraceCallback { |
void StartAecDump(const std::string& filename); |
int CreateVoEChannel(); |
webrtc::AudioDeviceModule* adm(); |
+ webrtc::AudioProcessing* apm(); |
AudioCodecs CollectRecvCodecs() const; |
@@ -110,6 +111,8 @@ class WebRtcVoiceEngine final : public webrtc::TraceCallback { |
// The audio device manager. |
rtc::scoped_refptr<webrtc::AudioDeviceModule> adm_; |
rtc::scoped_refptr<webrtc::AudioDecoderFactory> decoder_factory_; |
+ // Reference to the APM, owned by VoE. |
+ webrtc::AudioProcessing* apm_ = nullptr; |
// The primary instance of WebRtc VoiceEngine. |
std::unique_ptr<VoEWrapper> voe_wrapper_; |
rtc::scoped_refptr<webrtc::AudioState> audio_state_; |