Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/test/conversational_speech/
Dsimulator.cc164 const float gain_linear = DbToRatio(gain); in ScaleSignal() local
167 output_samples.begin(), [gain_linear](int16_t x) -> int16_t { in ScaleSignal()
168 return rtc::saturated_cast<int16_t>(x * gain_linear); in ScaleSignal()
/external/webrtc/modules/audio_processing/agc2/
Dadaptive_digital_gain_applier_unittest.cc33 float gain_linear = 0.f; in RunOnConstantLevel() local
44 gain_linear = fake_audio.float_frame_view().channel(0)[0]; in RunOnConstantLevel()
46 return gain_linear; in RunOnConstantLevel()