summaryrefslogtreecommitdiff
path: root/voice_engine/channel.cc
diff options
context:
space:
mode:
authorhenrik.lundin@webrtc.org <henrik.lundin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-22 08:51:21 +0000
committerhenrik.lundin@webrtc.org <henrik.lundin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-22 08:51:21 +0000
commiteae2214001de9fcf68dc925ac13af30fade8fa85 (patch)
tree7bd8337841eb1202603139087bcf18754b24129c /voice_engine/channel.cc
parent6cee2bafdd7b97c6b3893d67690ed2e37ada6ef1 (diff)
downloadwebrtc-eae2214001de9fcf68dc925ac13af30fade8fa85.tar.gz
Stop using ACM factory in VoiceEngine
The factory injection was introduces in order to facilitate switching between ACM1 and ACM2. Now, ACM1 is being deprecated, and this switching mechanism is no longer needed. BUG=2996 R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12259005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5954 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/channel.cc')
-rw-r--r--voice_engine/channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/voice_engine/channel.cc b/voice_engine/channel.cc
index 576331ad..fb73c139 100644
--- a/voice_engine/channel.cc
+++ b/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<AudioCodingModuleFactory>().Create(
+ audio_coding_(AudioCodingModule::Create(
VoEModuleId(instanceId, channelId))),
_rtpDumpIn(*RtpDump::CreateRtpDump()),
_rtpDumpOut(*RtpDump::CreateRtpDump()),