Make VoiceEngine choose ACM2 by default

The use of a factory for ACM will be removed in later CLs.

BUG=2996
R=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5923 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org 2014-04-17 08:07:18 +00:00
parent c0a15b7ddc
commit 6cec07f6a7

View File

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