Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct_unittest.cc53 : agc_(new MockAgc), manager_(agc_, &gctrl_, &volume_, kInitialVolume) { in AgcManagerDirectTest()
59 EXPECT_CALL(*agc_, Reset()); in FirstProcess()
60 EXPECT_CALL(*agc_, GetRmsErrorDb(_)).WillOnce(Return(false)); in FirstProcess()
71 EXPECT_CALL(*agc_, Reset()); in ExpectCheckVolumeAndReset()
83 EXPECT_CALL(*agc_, Process(_, _, _)).WillOnce(Return(0)); in CallProcess()
94 MockAgc* agc_; member in webrtc::AgcManagerDirectTest
110 EXPECT_CALL(*agc_, GetRmsErrorDb(_)) in TEST_F()
115 EXPECT_CALL(*agc_, GetRmsErrorDb(_)) in TEST_F()
120 EXPECT_CALL(*agc_, GetRmsErrorDb(_)) in TEST_F()
125 EXPECT_CALL(*agc_, GetRmsErrorDb(_)) in TEST_F()
[all …]
Dagc_manager_direct.cc117 : agc_(new Agc()), in AgcManagerDirect()
139 : agc_(agc), in AgcManagerDirect()
213 float clipped_ratio = agc_->AnalyzePreproc(audio, length); in AnalyzePreProcess()
226 agc_->Reset(); in AnalyzePreProcess()
246 if (agc_->Process(audio, length, sample_rate_hz) != 0) { in Process()
283 agc_->Reset(); in SetLevel()
324 return agc_->voice_probability(); in voice_probability()
352 agc_->Reset(); in CheckVolumeAndReset()
367 if (!agc_->GetRmsErrorDb(&rms_error)) { in UpdateGain()
Dagc_unittest.cc47 : agc_(), in AgcTest()
74 ASSERT_GE(agc_.Process(frame), 0); in RunAgc()
76 int mic_level = agc_.MicLevel(); in RunAgc()
86 Agc agc_; member in webrtc::__anon002e31390111::AgcTest
Dagc_manager_direct.h84 rtc::scoped_ptr<Agc> agc_; variable