diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc index 576331ad5..fb73c1397 100644 --- a/webrtc/voice_engine/channel.cc +++ b/webrtc/voice_engine/channel.cc @@ -836,7 +836,7 @@ Channel::Channel(int32_t channelId, VoEModuleId(instanceId, channelId), Clock::GetRealTimeClock(), this, this, this, rtp_payload_registry_.get())), telephone_event_handler_(rtp_receiver_->GetTelephoneEventHandler()), - audio_coding_(config.Get().Create( + audio_coding_(AudioCodingModule::Create( VoEModuleId(instanceId, channelId))), _rtpDumpIn(*RtpDump::CreateRtpDump()), _rtpDumpOut(*RtpDump::CreateRtpDump()), diff --git a/webrtc/voice_engine/voice_engine_impl.cc b/webrtc/voice_engine/voice_engine_impl.cc index 52882f54c..e7ae5de3c 100644 --- a/webrtc/voice_engine/voice_engine_impl.cc +++ b/webrtc/voice_engine/voice_engine_impl.cc @@ -86,8 +86,6 @@ int VoiceEngineImpl::Release() { VoiceEngine* VoiceEngine::Create() { Config* config = new Config(); - config->Set(new NewAudioCodingModuleFactory()); - return GetVoiceEngine(config, true); }