/external/webrtc/webrtc/modules/audio_coding/acm2/ |
acm_receive_test_oldapi.cc | 114 CodecInst my_codec_param; local 116 ASSERT_EQ(0, acm_->Codec(n, &my_codec_param)) << "Failed to get codec."; 117 if (ModifyAndUseThisCodec(&my_codec_param)) { 118 ASSERT_EQ(0, acm_->RegisterReceiveCodec(my_codec_param)) 125 CodecInst my_codec_param; local 127 ASSERT_EQ(0, acm_->Codec(n, &my_codec_param)) << "Failed to get codec."; 128 if (!ModifyAndUseThisCodec(&my_codec_param)) { 133 if (RemapPltypeAndUseThisCodec(my_codec_param.plname, 134 my_codec_param.plfreq, 135 my_codec_param.channels [all...] |
/external/webrtc/webrtc/modules/audio_coding/test/ |
delay_test.cc | 98 CodecInst my_codec_param; local 100 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)) << 102 if (STR_CASE_CMP(my_codec_param.plname, "opus") == 0) 103 my_codec_param.channels = 1; 104 else if (my_codec_param.channels > 1) 106 if (STR_CASE_CMP(my_codec_param.plname, "CN") == 0 && 107 my_codec_param.plfreq == 48000) 109 if (STR_CASE_CMP(my_codec_param.plname, "telephone-event") == 0) 111 ASSERT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)) << 146 CodecInst my_codec_param; local [all...] |
TestAllCodecs.cc | 139 CodecInst my_codec_param; local 141 acm_b_->Codec(n, &my_codec_param); 142 if (!strcmp(my_codec_param.plname, "opus")) { 143 my_codec_param.channels = 1; 145 acm_b_->RegisterReceiveCodec(my_codec_param); 409 CodecInst my_codec_param; local 410 CHECK_ERROR(AudioCodingModule::Codec(codec_name, &my_codec_param, 412 my_codec_param.rate = rate; 413 my_codec_param.pacsize = packet_size; 414 CHECK_ERROR(my_acm->RegisterSendCodec(my_codec_param)); 483 CodecInst my_codec_param; local [all...] |
TestStereo.cc | 171 CodecInst my_codec_param; local 173 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); 174 EXPECT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)); 179 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); 180 EXPECT_EQ(0, acm_b_->UnregisterReceiveCodec(my_codec_param.pltype)); 185 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); 186 EXPECT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)); 716 CodecInst my_codec_param; local 718 EXPECT_GT(AudioCodingModule::Codec(codec_name, &my_codec_param, 720 my_codec_param.rate = rate [all...] |