Home
last modified time | relevance | path

Searched refs:voice_codec (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_audio.cc179 CodecInst voice_codec; in TEST_F() local
180 memset(&voice_codec, 0, sizeof(voice_codec)); in TEST_F()
181 voice_codec.pltype = 96; in TEST_F()
182 voice_codec.plfreq = 8000; in TEST_F()
183 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F()
185 EXPECT_EQ(0, module1->RegisterSendPayload(voice_codec)); in TEST_F()
187 voice_codec.plname, in TEST_F()
188 voice_codec.pltype, in TEST_F()
189 voice_codec.plfreq, in TEST_F()
190 voice_codec.channels, in TEST_F()
[all …]
Dtest_api_rtcp.cc139 CodecInst voice_codec; in SetUp() local
140 voice_codec.pltype = 96; in SetUp()
141 voice_codec.plfreq = 8000; in SetUp()
142 voice_codec.rate = 64000; in SetUp()
143 memcpy(voice_codec.plname, "PCMU", 5); in SetUp()
145 EXPECT_EQ(0, module1->RegisterSendPayload(voice_codec)); in SetUp()
147 voice_codec.plname, in SetUp()
148 voice_codec.pltype, in SetUp()
149 voice_codec.plfreq, in SetUp()
150 voice_codec.channels, in SetUp()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl.cc243 const CodecInst& voice_codec) { in RegisterSendPayload() argument
245 voice_codec.plname, in RegisterSendPayload()
246 voice_codec.pltype, in RegisterSendPayload()
247 voice_codec.plfreq, in RegisterSendPayload()
248 voice_codec.channels, in RegisterSendPayload()
249 (voice_codec.rate < 0) ? 0 : voice_codec.rate); in RegisterSendPayload()
Drtp_rtcp_impl.h50 int32_t RegisterSendPayload(const CodecInst& voice_codec) override;