Home
last modified time | relevance | path

Searched refs:acm_ (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/modules/audio_coding/acm2/
Dacm_receive_test.cc45 acm_(webrtc::AudioCodingModule::Create( in AcmReceiveTestOldApi()
55 acm_->SetReceiveCodecs({{103, {"ISAC", 16000, 1}}, in RegisterDefaultCodecs()
79 acm_->SetReceiveCodecs({{103, {"ISAC", 16000, 1}}, in RegisterNetEqTestCodecs()
102 acm_->PlayoutData10Ms(output_freq_hz_, &output_frame, &muted)); in Run()
122 EXPECT_EQ(0, acm_->IncomingPacket( in Run()
Dacm_send_test.cc35 acm_(webrtc::AudioCodingModule::Create([this] { in AcmSendTestOldApi()
56 acm_->RegisterTransportCallback(this);
80 acm_->SetEncoder( in RegisterCodec()
92 acm_->SetEncoder(std::move(external_speech_encoder)); in RegisterExternalCodec()
113 RTC_CHECK_GE(acm_->Add10MsData(input_frame_), 0); in NextPacket()
Daudio_coding_module_unittest.cc175 acm_.reset(AudioCodingModule::Create([this] { in SetUp()
191 ASSERT_EQ(0, acm_->RegisterTransportCallback(&packet_cb_)); in SetUp()
203 acm_->SetReceiveCodecs({{kPayloadType, *audio_format_}}); in RegisterCodec()
204 acm_->SetEncoder(CreateBuiltinAudioEncoderFactory()->MakeAudioEncoder( in RegisterCodec()
216 acm_->IncomingPacket(kPayload, kPayloadSizeBytes, rtp_header_)); in InsertPacket()
223 ASSERT_EQ(0, acm_->PlayoutData10Ms(-1, &audio_frame, &muted)); in PullAudio()
228 ASSERT_GE(acm_->Add10MsData(input_frame_), 0); in InsertAudio()
244 std::unique_ptr<AudioCodingModule> acm_; member in webrtc::AudioCodingModuleTestOldApi
262 EXPECT_EQ(0, acm_->PlayoutData10Ms(kSampleRateHz, &audio_frame, &muted)); in TEST_F()
280 RTC_EXPECT_DEATH(acm_->PlayoutData10Ms(0, &audio_frame, &muted), in TEST_F()
[all …]
Dacm_receiver_unittest.cc46 acm_.reset(AudioCodingModule::Create(config_)); in SetUp()
49 ASSERT_TRUE(acm_.get() != NULL); in SetUp()
50 acm_->InitializeReceiver(); in SetUp()
51 acm_->RegisterTransportCallback(this); in SetUp()
83 acm_->SetEncoder(std::move(enc));
100 EXPECT_GE(acm_->Add10MsData(frame), 0); in InsertOnePacketOfSilence()
137 std::unique_ptr<AudioCodingModule> acm_; member in webrtc::acm2::AcmReceiverTestOldApi
Dacm_receive_test.h58 AudioCodingModule* get_acm() { return acm_.get(); } in get_acm()
65 std::unique_ptr<AudioCodingModule> acm_; variable
Dacm_send_test.h60 AudioCodingModule* acm() { return acm_.get(); } in acm()
70 std::unique_ptr<AudioCodingModule> acm_; variable