Home
last modified time | relevance | path

Searched refs:_acmA (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/test/
DTestRedFec.cc52 : _acmA(AudioCodingModule::Create(0)), in TestRedFec()
70 ASSERT_EQ(0, _acmA->InitializeReceiver()); in Perform()
73 uint8_t numEncoders = _acmA->NumberOfCodecs(); in Perform()
86 _acmA->RegisterTransportCallback(_channelA2B); in Perform()
93 EXPECT_EQ(0, _acmA->SetREDStatus(true)); in Perform()
94 EXPECT_TRUE(_acmA->REDStatus()); in Perform()
102 EXPECT_TRUE(_acmA->REDStatus()); in Perform()
117 EXPECT_TRUE(_acmA->REDStatus()); in Perform()
120 EXPECT_FALSE(_acmA->REDStatus()); in Perform()
125 EXPECT_EQ(0, _acmA->SetREDStatus(false)); in Perform()
[all …]
DTwoWayCommunication.cc34 : _acmA(AudioCodingModule::Create(1)), in TwoWayCommunication()
98 EXPECT_EQ(0, _acmA->Codec(codecID_A, &codecInst_A)); in SetUp()
100 EXPECT_EQ(0, _acmA->Codec(6, &dummyCodec)); in SetUp()
103 EXPECT_EQ(0, _acmA->RegisterSendCodec(codecInst_A)); in SetUp()
104 EXPECT_EQ(0, _acmA->RegisterReceiveCodec(codecInst_B)); in SetUp()
153 _acmA->RegisterTransportCallback(_channel_A2B); in SetUp()
163 _channel_B2A->RegisterReceiverACM(_acmA.get()); in SetUp()
175 EXPECT_EQ(0, _acmA->Codec("ISAC", &codecInst_A, 16000, 1)); in SetUpAutotest()
177 EXPECT_EQ(0, _acmA->Codec(6, &dummyCodec)); in SetUpAutotest()
180 EXPECT_EQ(0, _acmA->RegisterSendCodec(codecInst_A)); in SetUpAutotest()
[all …]
DiSACTest.cc72 : _acmA(AudioCodingModule::Create(1)), in ISACTest()
98 EXPECT_EQ(0, _acmA->RegisterReceiveCodec(_paramISAC16kHz)); in Setup()
99 EXPECT_EQ(0, _acmA->RegisterReceiveCodec(_paramISAC32kHz)); in Setup()
105 EXPECT_EQ(0, _acmA->RegisterTransportCallback(_channel_A2B.get())); in Setup()
111 _channel_B2A->RegisterReceiverACM(_acmA.get()); in Setup()
117 EXPECT_EQ(0, _acmA->RegisterSendCodec(_paramISAC32kHz)); in Setup()
133 EXPECT_EQ(0, _acmA->ReceiveCodec(&receiveCodec)); in Setup()
200 EXPECT_GE(_acmA->Add10MsData(audioFrame), 0); in Run10ms()
202 EXPECT_EQ(0, _acmA->PlayoutData10Ms(32000, &audioFrame)); in Run10ms()
226 EXPECT_EQ(0, _acmA->RegisterSendCodec(_paramISAC16kHz)); in EncodeDecode()
[all …]
DAPITest.cc52 : _acmA(AudioCodingModule::Create(1)), in APITest()
131 int16_t numCodecs = _acmA->NumberOfCodecs(); in SetUp()
167 CHECK_ERROR_MT(_acmA->RegisterReceiveCodec(nextCodec)); in SetUp()
168 CHECK_ERROR_MT(_acmA->UnregisterReceiveCodec(nextCodec.pltype)); in SetUp()
172 CHECK_ERROR_MT(_acmA->RegisterReceiveCodec(dummyCodec)); in SetUp()
178 CHECK_ERROR_MT(_acmA->RegisterSendCodec(dummyCodec)); in SetUp()
191 CHECK_ERROR_MT(_acmA->RegisterSendCodec(dummyCodec)); in SetUp()
232 CHECK_ERROR_MT(_acmA->RegisterTransportCallback(_channel_A2B)); in SetUp()
238 _channel_B2A->RegisterReceiverACM(_acmA.get()); in SetUp()
326 if (_acmA->PlayoutData10Ms(_outFreqHzA, &audioFrame) < 0) { in PullAudioRunA()
[all …]
DTestRedFec.h39 rtc::scoped_ptr<AudioCodingModule> _acmA; variable
DTwoWayCommunication.h34 rtc::scoped_ptr<AudioCodingModule> _acmA; variable
DiSACTest.h54 rtc::scoped_ptr<AudioCodingModule> _acmA; variable
DAPITest.h85 rtc::scoped_ptr<AudioCodingModule> _acmA; variable