Home
last modified time | relevance | path

Searched refs:kMaxGainDb (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/
Dadaptive_digital_gain_applier.cc30 if (input_level_dbfs < -(kHeadroomDbfs + kMaxGainDb)) { in ComputeGainDb()
31 return kMaxGainDb; in ComputeGainDb()
102 last_gain_db_, 0, kMaxGainDb, kMaxGainDb + 1); in Process()
Dadaptive_digital_gain_applier_unittest.cc96 constexpr float initial_level_dbfs = -kHeadroomDbfs - kMaxGainDb - 10.f; in TEST()
99 static_cast<int>(kMaxGainDb / kMaxGainChangePerFrameDb) + 10; in TEST()
103 EXPECT_NEAR(applied_gain, DbToRatio(kMaxGainDb), 0.1f); in TEST()
106 EXPECT_NEAR(applied_gain_db, kMaxGainDb, 0.1f); in TEST()
Dagc2_common.h33 constexpr float kMaxGainDb = 30.f; variable