Index: modules/audio_coding/test/TwoWayCommunication.cc |
diff --git a/modules/audio_coding/test/TwoWayCommunication.cc b/modules/audio_coding/test/TwoWayCommunication.cc |
index addb71764e6cdbe796359e54aa7d6213a764b73f..8049436cd01fe754e2c9bb845d8a7da97711a251 100644 |
--- a/modules/audio_coding/test/TwoWayCommunication.cc |
+++ b/modules/audio_coding/test/TwoWayCommunication.cc |
@@ -34,16 +34,14 @@ namespace webrtc { |
#define MAX_FILE_NAME_LENGTH_BYTE 500 |
TwoWayCommunication::TwoWayCommunication(int testMode) |
- : _acmA(AudioCodingModule::Create(1)), |
- _acmRefA(AudioCodingModule::Create(3)), |
+ : _acmA(AudioCodingModule::Create()), |
+ _acmRefA(AudioCodingModule::Create()), |
_testMode(testMode) { |
AudioCodingModule::Config config; |
// The clicks will be more obvious in FAX mode. TODO(henrik.lundin) Really? |
config.neteq_config.playout_mode = kPlayoutFax; |
- config.id = 2; |
config.decoder_factory = CreateBuiltinAudioDecoderFactory(); |
_acmB.reset(AudioCodingModule::Create(config)); |
- config.id = 4; |
_acmRefB.reset(AudioCodingModule::Create(config)); |
} |
@@ -62,7 +60,7 @@ TwoWayCommunication::~TwoWayCommunication() { |
void TwoWayCommunication::ChooseCodec(uint8_t* codecID_A, |
uint8_t* codecID_B) { |
- std::unique_ptr<AudioCodingModule> tmpACM(AudioCodingModule::Create(0)); |
+ std::unique_ptr<AudioCodingModule> tmpACM(AudioCodingModule::Create()); |
uint8_t noCodec = tmpACM->NumberOfCodecs(); |
CodecInst codecInst; |
printf("List of Supported Codecs\n"); |