Index: webrtc/voice_engine/voe_base_impl.h |
diff --git a/webrtc/voice_engine/voe_base_impl.h b/webrtc/voice_engine/voe_base_impl.h |
index b9f328259606f0a4afb0dac0cdf1f8bc62de4eca..ed73832ca4c53a4ef49da75de7205d38ff921430 100644 |
--- a/webrtc/voice_engine/voe_base_impl.h |
+++ b/webrtc/voice_engine/voe_base_impl.h |
@@ -28,12 +28,15 @@ class VoEBaseImpl : public VoEBase, |
int RegisterVoiceEngineObserver(VoiceEngineObserver& observer) override; |
int DeRegisterVoiceEngineObserver() override; |
- int Init(AudioDeviceModule* external_adm = nullptr, |
- AudioProcessing* audioproc = nullptr, |
- const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory = |
- nullptr) override; |
+ int Init( |
+ AudioDeviceModule* external_adm, |
+ AudioProcessing* external_apm, |
+ const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory) override; |
AudioProcessing* audio_processing() override { |
- return shared_->audio_processing(); |
+ // TODO(peah): Remove this when upstream dependencies have properly been |
Taylor Brandstetter
2017/06/28 07:19:38
Here too
peah-webrtc
2017/06/29 11:46:31
Done.
|
+ // resolved. |
+ RTC_DCHECK(audio_processing_); |
+ return audio_processing_.get(); |
} |
AudioDeviceModule* audio_device_module() override { |
return shared_->audio_device(); |
@@ -121,6 +124,10 @@ class VoEBaseImpl : public VoEBase, |
rtc::CriticalSection callbackCritSect_; |
rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
+ // TODO(peah): Remove this when upstream dependencies have properly been |
+ // resolved. |
+ rtc::scoped_refptr<AudioProcessing> audio_processing_; |
+ |
AudioFrame audioFrame_; |
voe::SharedData* shared_; |
}; |