/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
acm_receive_test_oldapi.cc | 117 CodecInst my_codec_param; local 119 ASSERT_EQ(0, acm_->Codec(n, &my_codec_param)) << "Failed to get codec."; 120 if (ModifyAndUseThisCodec(&my_codec_param)) { 121 ASSERT_EQ(0, acm_->RegisterReceiveCodec(my_codec_param)) 128 CodecInst my_codec_param; local 130 ASSERT_EQ(0, acm_->Codec(n, &my_codec_param)) << "Failed to get codec."; 131 if (!ModifyAndUseThisCodec(&my_codec_param)) { 136 if (RemapPltypeAndUseThisCodec(my_codec_param.plname, 137 my_codec_param.plfreq, 138 my_codec_param.channels [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
delay_test.cc | 103 CodecInst my_codec_param; local 105 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)) << 107 if (STR_CASE_CMP(my_codec_param.plname, "opus") == 0) 108 my_codec_param.channels = 1; 109 else if (my_codec_param.channels > 1) 111 if (STR_CASE_CMP(my_codec_param.plname, "CN") == 0 && 112 my_codec_param.plfreq == 48000) 114 if (STR_CASE_CMP(my_codec_param.plname, "telephone-event") == 0) 116 ASSERT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)) << 151 CodecInst my_codec_param; local [all...] |
TestAllCodecs.cc | 134 CodecInst my_codec_param; local 136 acm_b_->Codec(n, &my_codec_param); 137 if (!strcmp(my_codec_param.plname, "opus")) { 138 my_codec_param.channels = 1; 140 acm_b_->RegisterReceiveCodec(my_codec_param); 742 CodecInst my_codec_param; local 743 CHECK_ERROR(AudioCodingModule::Codec(codec_name, &my_codec_param, 745 my_codec_param.rate = rate; 746 my_codec_param.pacsize = packet_size; 747 CHECK_ERROR(my_acm->RegisterSendCodec(my_codec_param)); 815 CodecInst my_codec_param; local [all...] |
TestStereo.cc | 168 CodecInst my_codec_param; local 170 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); 171 EXPECT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)); 176 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); 177 EXPECT_EQ(0, acm_b_->UnregisterReceiveCodec(my_codec_param.pltype)); 182 EXPECT_EQ(0, acm_b_->Codec(n, &my_codec_param)); 183 EXPECT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)); 790 CodecInst my_codec_param; local 792 EXPECT_GT(AudioCodingModule::Codec(codec_name, &my_codec_param, 794 my_codec_param.rate = rate 903 CodecInst my_codec_param; local [all...] |