Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/test/
DiSACTest.cc73 _acmB(AudioCodingModule::Create(2)), in ISACTest()
100 EXPECT_EQ(0, _acmB->RegisterReceiveCodec(_paramISAC16kHz)); in Setup()
101 EXPECT_EQ(0, _acmB->RegisterReceiveCodec(_paramISAC32kHz)); in Setup()
106 _channel_A2B->RegisterReceiverACM(_acmB.get()); in Setup()
110 EXPECT_EQ(0, _acmB->RegisterTransportCallback(_channel_B2A.get())); in Setup()
116 EXPECT_EQ(0, _acmB->RegisterSendCodec(_paramISAC16kHz)); in Setup()
134 EXPECT_EQ(0, _acmB->ReceiveCodec(&receiveCodec)); in Setup()
201 EXPECT_GE(_acmB->Add10MsData(audioFrame), 0); in Run10ms()
204 EXPECT_EQ(0, _acmB->PlayoutData10Ms(32000, &audioFrame)); in Run10ms()
228 EXPECT_EQ(0, _acmB->RegisterSendCodec(_paramISAC32kHz)); in EncodeDecode()
[all …]
DTwoWayCommunication.cc41 _acmB.reset(AudioCodingModule::Create(config)); in TwoWayCommunication()
99 EXPECT_EQ(0, _acmB->Codec(codecID_B, &codecInst_B)); in SetUp()
110 EXPECT_EQ(0, _acmB->RegisterSendCodec(codecInst_B)); in SetUp()
111 EXPECT_EQ(0, _acmB->RegisterReceiveCodec(codecInst_A)); in SetUp()
154 _channel_A2B->RegisterReceiverACM(_acmB.get()); in SetUp()
162 _acmB->RegisterTransportCallback(_channel_B2A); in SetUp()
176 EXPECT_EQ(0, _acmB->Codec("L16", &codecInst_B, 8000, 1)); in SetUpAutotest()
188 EXPECT_GT(_acmB->RegisterSendCodec(codecInst_B), -1); in SetUpAutotest()
189 EXPECT_GT(_acmB->RegisterReceiveCodec(codecInst_A), -1); in SetUpAutotest()
223 _channel_A2B->RegisterReceiverACM(_acmB.get()); in SetUpAutotest()
[all …]
DAPITest.cc53 _acmB(AudioCodingModule::Create(2)), in APITest()
145 CHECK_ERROR(_acmB->RegisterReceiveCodec(dummyCodec)); in SetUp()
156 _acmB->RegisterReceiveCodec(dummyCodec); in SetUp()
174 CHECK_ERROR_MT(_acmB->RegisterReceiveCodec(dummyCodec)); in SetUp()
179 CHECK_ERROR_MT(_acmB->RegisterSendCodec(dummyCodec)); in SetUp()
195 CHECK_ERROR_MT(_acmB->RegisterSendCodec(dummyCodec)); in SetUp()
233 _channel_A2B->RegisterReceiverACM(_acmB.get()); in SetUp()
237 CHECK_ERROR_MT(_acmB->RegisterTransportCallback(_channel_B2A)); in SetUp()
346 if (_acmB->PlayoutData10Ms(_outFreqHzB, &audioFrame) < 0) { in PullAudioRunB()
385 if (_acmB->Add10MsData(audioFrame) < 0) { in PushAudioRunB()
[all …]
DTestRedFec.cc53 _acmB(AudioCodingModule::Create(1)), in TestRedFec()
71 ASSERT_EQ(0, _acmB->InitializeReceiver()); in Perform()
76 EXPECT_EQ(0, _acmB->Codec(n, &myCodecParam)); in Perform()
81 EXPECT_EQ(0, _acmB->RegisterReceiveCodec(myCodecParam)); in Perform()
87 _channelA2B->RegisterReceiverACM(_acmB.get()); in Perform()
433 myACM = _acmB.get(); in RegisterSendCodec()
464 EXPECT_EQ(0, _acmB->PlayoutData10Ms(outFreqHzB, &audioFrame)); in Run()
DTestRedFec.h40 rtc::scoped_ptr<AudioCodingModule> _acmB; variable
DTwoWayCommunication.h35 rtc::scoped_ptr<AudioCodingModule> _acmB; variable
DiSACTest.h55 rtc::scoped_ptr<AudioCodingModule> _acmB; variable
DAPITest.h86 rtc::scoped_ptr<AudioCodingModule> _acmB; variable