Home
last modified time | relevance | path

Searched refs:my_codec_param (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_receive_test_oldapi.cc114 CodecInst my_codec_param; in RegisterDefaultCodecs() local
116 ASSERT_EQ(0, acm_->Codec(n, &my_codec_param)) << "Failed to get codec."; in RegisterDefaultCodecs()
117 if (ModifyAndUseThisCodec(&my_codec_param)) { in RegisterDefaultCodecs()
118 ASSERT_EQ(0, acm_->RegisterReceiveCodec(my_codec_param)) in RegisterDefaultCodecs()
125 CodecInst my_codec_param; in RegisterNetEqTestCodecs() local
127 ASSERT_EQ(0, acm_->Codec(n, &my_codec_param)) << "Failed to get codec."; in RegisterNetEqTestCodecs()
128 if (!ModifyAndUseThisCodec(&my_codec_param)) { in RegisterNetEqTestCodecs()
133 if (RemapPltypeAndUseThisCodec(my_codec_param.plname, in RegisterNetEqTestCodecs()
134 my_codec_param.plfreq, in RegisterNetEqTestCodecs()
135 my_codec_param.channels, in RegisterNetEqTestCodecs()
[all …]
/external/webrtc/webrtc/modules/audio_coding/test/
Ddelay_test.cc98 CodecInst my_codec_param; in Initialize() local
100 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)) << in Initialize()
102 if (STR_CASE_CMP(my_codec_param.plname, "opus") == 0) in Initialize()
103 my_codec_param.channels = 1; in Initialize()
104 else if (my_codec_param.channels > 1) in Initialize()
106 if (STR_CASE_CMP(my_codec_param.plname, "CN") == 0 && in Initialize()
107 my_codec_param.plfreq == 48000) in Initialize()
109 if (STR_CASE_CMP(my_codec_param.plname, "telephone-event") == 0) in Initialize()
111 ASSERT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)) << in Initialize()
146 CodecInst my_codec_param; in SendCodec() local
[all …]
DTestAllCodecs.cc139 CodecInst my_codec_param; in Perform() local
141 acm_b_->Codec(n, &my_codec_param); in Perform()
142 if (!strcmp(my_codec_param.plname, "opus")) { in Perform()
143 my_codec_param.channels = 1; in Perform()
145 acm_b_->RegisterReceiveCodec(my_codec_param); in Perform()
409 CodecInst my_codec_param; in RegisterSendCodec() local
410 CHECK_ERROR(AudioCodingModule::Codec(codec_name, &my_codec_param, in RegisterSendCodec()
412 my_codec_param.rate = rate; in RegisterSendCodec()
413 my_codec_param.pacsize = packet_size; in RegisterSendCodec()
414 CHECK_ERROR(my_acm->RegisterSendCodec(my_codec_param)); in RegisterSendCodec()
[all …]
DTestStereo.cc171 CodecInst my_codec_param; in Perform() local
173 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); in Perform()
174 EXPECT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)); in Perform()
179 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); in Perform()
180 EXPECT_EQ(0, acm_b_->UnregisterReceiveCodec(my_codec_param.pltype)); in Perform()
185 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); in Perform()
186 EXPECT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)); in Perform()
716 CodecInst my_codec_param; in RegisterSendCodec() local
718 EXPECT_GT(AudioCodingModule::Codec(codec_name, &my_codec_param, in RegisterSendCodec()
720 my_codec_param.rate = rate; in RegisterSendCodec()
[all …]