Searched refs:gain_linear (Results 1 – 2 of 2) sorted by relevance
164 const float gain_linear = DbToRatio(gain); in ScaleSignal() local167 output_samples.begin(), [gain_linear](int16_t x) -> int16_t { in ScaleSignal()168 return rtc::saturated_cast<int16_t>(x * gain_linear); in ScaleSignal()
33 float gain_linear = 0.f; in RunOnConstantLevel() local44 gain_linear = fake_audio.float_frame_view().channel(0)[0]; in RunOnConstantLevel()46 return gain_linear; in RunOnConstantLevel()