Revert "Stop using ACM factory in VoiceEngine"

Some of the bots where breaking.

TBR=henrika@webrtc.org
BUG=2996

Review URL: https://webrtc-codereview.appspot.com/12319004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5955 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org 2014-04-22 09:44:00 +00:00
parent 139706ec0b
commit 0c108d0b4d
2 changed files with 3 additions and 1 deletions

View File

@ -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_(AudioCodingModule::Create(
audio_coding_(config.Get<AudioCodingModuleFactory>().Create(
VoEModuleId(instanceId, channelId))),
_rtpDumpIn(*RtpDump::CreateRtpDump()),
_rtpDumpOut(*RtpDump::CreateRtpDump()),

View File

@ -86,6 +86,8 @@ int VoiceEngineImpl::Release() {
VoiceEngine* VoiceEngine::Create() {
Config* config = new Config();
config->Set<AudioCodingModuleFactory>(new NewAudioCodingModuleFactory());
return GetVoiceEngine(config, true);
}