Make ACM2 the default in voe_cmd_test.
R=turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/11019004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5826 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
05e7b44b83
commit
19018ddb17
@ -42,7 +42,7 @@
|
||||
#include "webrtc/voice_engine/include/voe_video_sync.h"
|
||||
#include "webrtc/voice_engine/include/voe_volume_control.h"
|
||||
|
||||
DEFINE_bool(use_acm_version_2, false,
|
||||
DEFINE_bool(use_acm_version_1, false,
|
||||
"If true, we'll run the tests with Audio Coding Module version 2.");
|
||||
DEFINE_bool(use_log_file, false,
|
||||
"Output logs to a file; by default they will be printed to stderr.");
|
||||
@ -129,11 +129,11 @@ int main(int argc, char** argv) {
|
||||
|
||||
printf("Test started \n");
|
||||
|
||||
// TODO(minyue): Remove when the old ACM is removed (latest 2014-04-01).
|
||||
// TODO(minyue): Remove when the old ACM is removed.
|
||||
Config config;
|
||||
config.Set<AudioCodingModuleFactory>(FLAGS_use_acm_version_2 ?
|
||||
new NewAudioCodingModuleFactory() :
|
||||
new AudioCodingModuleFactory());
|
||||
config.Set<AudioCodingModuleFactory>(FLAGS_use_acm_version_1 ?
|
||||
new AudioCodingModuleFactory() :
|
||||
new NewAudioCodingModuleFactory());
|
||||
m_voe = VoiceEngine::Create(config);
|
||||
|
||||
base1 = VoEBase::GetInterface(m_voe);
|
||||
|
Loading…
Reference in New Issue
Block a user