Home
last modified time | relevance | path

Searched refs:last_gain_linear (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/
Dgain_applier.cc36 void ApplyGainWithRamping(float last_gain_linear, in ApplyGainWithRamping() argument
41 if (last_gain_linear == gain_at_end_of_frame_linear && in ApplyGainWithRamping()
47 if (last_gain_linear == gain_at_end_of_frame_linear) { in ApplyGainWithRamping()
58 const float increment = (gain_at_end_of_frame_linear - last_gain_linear) * in ApplyGainWithRamping()
60 float gain = last_gain_linear; in ApplyGainWithRamping()
Dadaptive_digital_gain_applier_unittest.cc120 float last_gain_linear = 1.f; in TEST() local
128 EXPECT_LE(std::abs(current_gain_linear - last_gain_linear), in TEST()
130 last_gain_linear = current_gain_linear; in TEST()
141 EXPECT_LE(std::abs(current_gain_linear - last_gain_linear), in TEST()
143 last_gain_linear = current_gain_linear; in TEST()