Home
last modified time | relevance | path

Searched refs:codec_instance_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dcodec_before_streaming_test.cc16 memset(&codec_instance_, 0, sizeof(codec_instance_)); in SetUp()
17 codec_instance_.channels = 1; in SetUp()
18 codec_instance_.plfreq = 16000; in SetUp()
19 codec_instance_.pacsize = 480; in SetUp()
28 webrtc::CodecInst codec_instance_; member in CodecBeforeStreamingTest
35 strcpy(codec_instance_.plname, "SomeInvalidCodecName"); in TEST_F()
38 EXPECT_NE(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_)); in TEST_F()
42 strcpy(codec_instance_.plname, "iSAC"); in TEST_F()
43 EXPECT_EQ(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_)); in TEST_F()
44 strcpy(codec_instance_.plname, "ISAC"); in TEST_F()
[all …]
Dcodec_test.cc23 memset(&codec_instance_, 0, sizeof(codec_instance_)); in SetUp()
28 EXPECT_EQ(0, voe_codec_->GetCodec(0, codec_instance_)); in SetArbitrarySendCodec()
29 EXPECT_EQ(0, voe_codec_->SetSendCodec(channel_, codec_instance_)); in SetArbitrarySendCodec()
32 webrtc::CodecInst codec_instance_; member in CodecTest
52 EXPECT_EQ(0, voe_codec_->GetSendCodec(channel_, codec_instance_)); in TEST_F()
53 EXPECT_EQ(1u, codec_instance_.channels); in TEST_F()
54 EXPECT_EQ(160, codec_instance_.pacsize); in TEST_F()
55 EXPECT_EQ(8000, codec_instance_.plfreq); in TEST_F()
56 EXPECT_EQ(0, codec_instance_.pltype); in TEST_F()
57 EXPECT_EQ(64000, codec_instance_.rate); in TEST_F()
[all …]