Home
last modified time | relevance | path

Searched refs:ingress_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/audio/voip/test/
Daudio_ingress_unittest.cc61 ingress_ = std::make_unique<AudioIngress>(rtp_rtcp_.get(), &fake_clock_, in SetUp()
64 ingress_->SetReceiveCodecs({{kPcmuPayload, kPcmuFormat}}); in SetUp()
72 ingress_->StartPlay(); in SetUp()
78 ingress_->StopPlay(); in TearDown()
81 ingress_.reset(); in TearDown()
102 std::unique_ptr<AudioIngress> ingress_; member in webrtc::__anonc756ecca0111::AudioIngressTest
107 EXPECT_EQ(ingress_->IsPlaying(), true); in TEST_F()
108 ingress_->StopPlay(); in TEST_F()
109 EXPECT_EQ(ingress_->IsPlaying(), false); in TEST_F()
115 ingress_->ReceivedRTPPacket(rtc::ArrayView<const uint8_t>(packet, length)); in TEST_F()
[all …]
/external/webrtc/audio/voip/
Daudio_channel.cc62 ingress_ = std::make_unique<AudioIngress>(rtp_rtcp_.get(), clock, in AudioChannel()
70 audio_mixer_->AddSource(ingress_.get()); in AudioChannel()
77 if (ingress_->IsPlaying()) { in ~AudioChannel()
81 audio_mixer_->RemoveSource(ingress_.get()); in ~AudioChannel()
107 ingress_->StartPlay(); in StartPlay()
117 ingress_->StopPlay(); in StopPlay()
Daudio_channel.h66 bool IsPlaying() const { return ingress_->IsPlaying(); } in IsPlaying()
68 ingress_->ReceivedRTPPacket(rtp_packet); in ReceivedRTPPacket()
71 ingress_->ReceivedRTCPPacket(rtcp_packet); in ReceivedRTCPPacket()
74 ingress_->SetReceiveCodecs(codecs); in SetReceiveCodecs()
91 std::unique_ptr<AudioIngress> ingress_; variable