Home
last modified time | relevance | path

Searched refs:AudioFrameType (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/modules/audio_coding/test/
DTestVADDTX.cc39 AudioFrameType frame_type, in SendData()
53 counter_[static_cast<int>(AudioFrameType::kEmptyFrame)]); in PrintStatistics()
55 counter_[static_cast<int>(AudioFrameType::kAudioFrameSpeech)]); in PrintStatistics()
57 counter_[static_cast<int>(AudioFrameType::kAudioFrameCN)]); in PrintStatistics()
240 expects[static_cast<int>(AudioFrameType::kEmptyFrame)] = 0; in Perform()
241 expects[static_cast<int>(AudioFrameType::kAudioFrameSpeech)] = 1; in Perform()
242 expects[static_cast<int>(AudioFrameType::kAudioFrameCN)] = 1; in Perform()
249 expects[static_cast<int>(AudioFrameType::kEmptyFrame)] = 1; in Perform()
250 expects[static_cast<int>(AudioFrameType::kAudioFrameSpeech)] = 1; in Perform()
251 expects[static_cast<int>(AudioFrameType::kAudioFrameCN)] = 1; in Perform()
[all …]
DChannel.cc22 int32_t Channel::SendData(AudioFrameType frameType, in SendData()
43 if (frameType == AudioFrameType::kEmptyFrame) { in SendData()
DTestAllCodecs.h28 int32_t SendData(AudioFrameType frame_type,
DTestStereo.h34 int32_t SendData(const AudioFrameType frame_type,
DTestVADDTX.h32 int32_t SendData(AudioFrameType frame_type,
DChannel.h50 int32_t SendData(AudioFrameType frameType,
DEncodeDecodeTest.h31 int32_t SendData(const AudioFrameType frameType,
DTestAllCodecs.cc63 int32_t TestPack::SendData(AudioFrameType frame_type, in SendData()
78 if (frame_type == AudioFrameType::kEmptyFrame) { in SendData()
DTestStereo.cc43 int32_t TestPackStereo::SendData(const AudioFrameType frame_type, in SendData()
57 if (frame_type == AudioFrameType::kEmptyFrame) { in SendData()
66 if (frame_type != AudioFrameType::kAudioFrameCN) { in SendData()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio.cc40 const char* FrameTypeToString(AudioFrameType frame_type) { in FrameTypeToString()
42 case AudioFrameType::kEmptyFrame: in FrameTypeToString()
44 case AudioFrameType::kAudioFrameSpeech: in FrameTypeToString()
46 case AudioFrameType::kAudioFrameCN: in FrameTypeToString()
102 bool RTPSenderAudio::MarkerBit(AudioFrameType frame_type, int8_t payload_type) { in MarkerBit()
117 if (frame_type != AudioFrameType::kAudioFrameCN) { in MarkerBit()
136 if (frame_type == AudioFrameType::kAudioFrameCN) { in MarkerBit()
145 bool RTPSenderAudio::SendAudio(AudioFrameType frame_type, in SendAudio()
156 bool RTPSenderAudio::SendAudio(AudioFrameType frame_type, in SendAudio()
201 if (frame_type == AudioFrameType::kEmptyFrame) { in SendAudio()
[all …]
Drtp_sender_audio_unittest.cc96 ASSERT_TRUE(rtp_sender_audio_.SendAudio(AudioFrameType::kAudioFrameCN, in TEST_F()
117 ASSERT_TRUE(rtp_sender_audio_.SendAudio(AudioFrameType::kAudioFrameCN, in TEST_F()
142 AudioFrameType::kAudioFrameCN, payload_type, 4321, payload, in TEST_F()
160 AudioFrameType::kAudioFrameCN, payload_type, 4321, payload, in TEST_F()
197 AudioFrameType::kEmptyFrame, kPayloadType, capture_timestamp, nullptr, 0, in TEST_F()
203 ASSERT_TRUE(rtp_sender_audio_.SendAudio(AudioFrameType::kEmptyFrame, in TEST_F()
211 ASSERT_TRUE(rtp_sender_audio_.SendAudio(AudioFrameType::kEmptyFrame, in TEST_F()
Drtp_sender_audio.h43 bool SendAudio(AudioFrameType frame_type,
49 bool SendAudio(AudioFrameType frame_type,
71 bool MarkerBit(AudioFrameType frame_type, int8_t payload_type);
/external/webrtc/audio/
Dchannel_send_frame_transformer_delegate.cc20 TransformableAudioFrame(AudioFrameType frame_type, in TransformableAudioFrame()
46 AudioFrameType GetFrameType() const { return frame_type_; } in GetFrameType()
53 AudioFrameType frame_type_;
85 AudioFrameType frame_type, in Transform()
Dchannel_send_frame_transformer_delegate_unittest.cc36 (AudioFrameType frameType,
43 return [this](AudioFrameType frameType, uint8_t payloadType, in callback()
103 delegate->Transform(AudioFrameType::kEmptyFrame, 0, 0, 0, data, sizeof(data), in TEST()
Dchannel_send_frame_transformer_delegate.h33 std::function<int32_t(AudioFrameType frameType,
54 void Transform(AudioFrameType frame_type,
Dchannel_send.cc156 int32_t SendData(AudioFrameType frameType,
166 int32_t SendRtpAudio(AudioFrameType frameType,
344 int32_t ChannelSend::SendData(AudioFrameType frameType, in SendData()
365 int32_t ChannelSend::SendRtpAudio(AudioFrameType frameType, in SendRtpAudio()
921 [this](AudioFrameType frameType, uint8_t payloadType, in InitFrameTransformerDelegate()
/external/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_unittest.cc106 last_frame_type_(AudioFrameType::kEmptyFrame), in PacketizationCallbackStubOldApi()
110 int32_t SendData(AudioFrameType frame_type, in SendData()
135 AudioFrameType last_frame_type() const { in last_frame_type()
157 AudioFrameType last_frame_type_ RTC_GUARDED_BY(mutex_);
296 EXPECT_EQ(AudioFrameType::kAudioFrameSpeech, in TEST_F()
301 EXPECT_EQ(AudioFrameType::kAudioFrameSpeech, packet_cb_.last_frame_type()); in TEST_F()
377 AudioFrameType type; in DoTest()
378 } expectation[] = {{2, AudioFrameType::kAudioFrameCN}, in DoTest()
379 {5, AudioFrameType::kEmptyFrame}, in DoTest()
380 {8, AudioFrameType::kEmptyFrame}, in DoTest()
[all …]
Dacm_receiver_unittest.cc39 last_frame_type_(AudioFrameType::kEmptyFrame) { in AcmReceiverTestOldApi()
106 int SendData(AudioFrameType frame_type, in SendData()
112 if (frame_type == AudioFrameType::kEmptyFrame) in SendData()
142 AudioFrameType last_frame_type_;
339 EXPECT_EQ(AudioFrameType::kAudioFrameCN, last_frame_type_); in TEST_F()
356 ASSERT_EQ(AudioFrameType::kAudioFrameSpeech, last_frame_type_); in TEST_F()
364 while (last_frame_type_ != AudioFrameType::kAudioFrameCN) { in TEST_F()
Dacm_send_test.h53 int32_t SendData(AudioFrameType frame_type,
78 AudioFrameType frame_type_;
Dacm_send_test.cc47 frame_type_(AudioFrameType::kAudioFrameSpeech),
125 int32_t AcmSendTestOldApi::SendData(AudioFrameType frame_type, in SendData()
Daudio_coding_module.cc290 AudioFrameType frame_type; in Encode()
292 frame_type = AudioFrameType::kEmptyFrame; in Encode()
296 frame_type = encoded_info.speech ? AudioFrameType::kAudioFrameSpeech in Encode()
297 : AudioFrameType::kAudioFrameCN; in Encode()
/external/webrtc/modules/audio_coding/include/
Daudio_coding_module.h41 virtual int32_t SendData(AudioFrameType frame_type, in SendData()
52 virtual int32_t SendData(AudioFrameType frame_type, in SendData()
Daudio_coding_module_typedefs.h36 enum class AudioFrameType { enum
/external/webrtc/audio/voip/
Daudio_egress.h95 int32_t SendData(AudioFrameType frame_type,
Daudio_egress.cc99 int32_t AudioEgress::SendData(AudioFrameType frame_type, in SendData()

12