Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng_unittest.cc108 .WillRepeatedly(Return(active_speech ? Vad::kActive : Vad::kPassive)); in CheckBlockGrouping()
150 sample_rate_hz_)).WillOnce(Return(Vad::kPassive)); in CheckVadInputSize()
155 sample_rate_hz_)).WillOnce(Return(Vad::kPassive)); in CheckVadInputSize()
175 if (first_type == Vad::kPassive) { in CheckMixedActivePassive()
226 .WillOnce(Return(Vad::kPassive)); in TEST_F()
260 .WillRepeatedly(Return(Vad::kPassive)); in TEST_F()
298 EXPECT_TRUE(CheckMixedActivePassive(Vad::kActive, Vad::kPassive)); in TEST_F()
303 EXPECT_TRUE(CheckMixedActivePassive(Vad::kPassive, Vad::kActive)); in TEST_F()
307 EXPECT_FALSE(CheckMixedActivePassive(Vad::kPassive, Vad::kPassive)); in TEST_F()
347 .WillOnce(Return(Vad::kPassive)); in TEST_F()
[all …]
Daudio_encoder_cng.cc136 if (activity == Vad::kPassive && blocks_in_second_vad_call > 0) { in EncodeInternal()
145 case Vad::kPassive: { in EncodeInternal()
/external/webrtc/webrtc/common_audio/vad/include/
Dvad.h30 enum Activity { kPassive = 0, kActive = 1, kError = -1 }; enumerator
/external/webrtc/webrtc/common_audio/vad/
Dvad.cc34 return kPassive; in VoiceActivity()