Home
last modified time | relevance | path

Searched refs:gctrl_ (Results 1 – 3 of 3) 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()
75 EXPECT_CALL(gctrl_, set_mode(GainControl::kFixedDigital)); in ExpectInitialize()
76 EXPECT_CALL(gctrl_, set_target_level_dbfs(2)); in ExpectInitialize()
77 EXPECT_CALL(gctrl_, set_compression_gain_db(7)); in ExpectInitialize()
78 EXPECT_CALL(gctrl_, enable_limiter(true)); in ExpectInitialize()
95 MockGainControl gctrl_; member in webrtc::AgcManagerDirectTest
225 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
232 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
234 EXPECT_CALL(gctrl_, set_compression_gain_db(8)).WillOnce(Return(0)); in TEST_F()
237 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
[all …]
Dagc_manager_direct.cc118 gctrl_(gctrl), in AgcManagerDirect()
140 gctrl_(gctrl), in AgcManagerDirect()
170 if (gctrl_->set_mode(GainControl::kFixedDigital) != 0) { in Initialize()
174 if (gctrl_->set_target_level_dbfs(2) != 0) { in Initialize()
178 if (gctrl_->set_compression_gain_db(kDefaultCompressionGain) != 0) { in Initialize()
182 if (gctrl_->enable_limiter(true) != 0) { in Initialize()
436 if (gctrl_->set_compression_gain_db(compression_) != 0) { in UpdateCompressor()
Dagc_manager_direct.h85 GainControl* gctrl_; variable