Home
last modified time | relevance | path

Searched refs:gain_factor (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/
Dgain_applier_unittest.cc24 constexpr float gain_factor = 10.f; in TEST() local
26 GainApplier gain_applier(true, gain_factor); in TEST()
30 initial_signal_level * gain_factor, 0.1f); in TEST()
35 constexpr float gain_factor = 10.f; in TEST() local
37 GainApplier gain_applier(true, gain_factor); in TEST()
46 constexpr float gain_factor = 10.f; in TEST() local
48 GainApplier gain_applier(false, gain_factor); in TEST()
53 initial_signal_level * gain_factor, 0.1f); in TEST()
Dgain_applier.cc22 bool GainCloseToOne(float gain_factor) { in GainCloseToOne() argument
23 return 1.f - 1.f / kMaxFloatS16Value <= gain_factor && in GainCloseToOne()
24 gain_factor <= 1.f + 1.f / kMaxFloatS16Value; in GainCloseToOne()
91 void GainApplier::SetGainFactor(float gain_factor) { in SetGainFactor() argument
92 RTC_DCHECK_GT(gain_factor, 0.f); in SetGainFactor()
93 current_gain_factor_ = gain_factor; in SetGainFactor()
Dfixed_gain_controller.cc26 bool CloseToOne(float gain_factor) { in CloseToOne() argument
27 return 1.f - 1.f / kMaxFloatS16Value <= gain_factor && in CloseToOne()
28 gain_factor <= 1.f + 1.f / kMaxFloatS16Value; in CloseToOne()
Dgain_applier.h24 void SetGainFactor(float gain_factor);