From 8da96ac0f69c39076419ba64b1e578c0edb70bbf Mon Sep 17 00:00:00 2001 From: "henrik.lundin@webrtc.org" Date: Tue, 10 Feb 2015 15:33:21 +0000 Subject: [PATCH] Switch to using AudioEncoderIlbc instead of ACMILBC This change switches from the old codec wrapper ACMILBC to the new AudioEncoderIlbc wrapped in an ACMGenericCodecWrapper. BUG=4228 COAUTHOR=kwiberg@webrtc.org R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/40699004 Cr-Commit-Position: refs/heads/master@{#8314} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8314 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc b/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc index 1b268dcb7..98440b0c9 100644 --- a/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc +++ b/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc @@ -587,7 +587,9 @@ ACMGenericCodec* ACMCodecDB::CreateCodecInstance(const CodecInst& codec_inst, red_payload_type); } else if (!STR_CASE_CMP(codec_inst.plname, "ILBC")) { #ifdef WEBRTC_CODEC_ILBC - return new ACMILBC(kILBC, enable_red); + return new ACMGenericCodecWrapper(codec_inst, cng_pt_nb, cng_pt_wb, + cng_pt_swb, cng_pt_fb, enable_red, + red_payload_type); #endif } else if (!STR_CASE_CMP(codec_inst.plname, "AMR")) { #ifdef WEBRTC_CODEC_AMR