Searched refs:last_gain_linear (Results 1 – 2 of 2) sorted by relevance
36 void ApplyGainWithRamping(float last_gain_linear, in ApplyGainWithRamping() argument41 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()
120 float last_gain_linear = 1.f; in TEST() local128 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()