Searched refs:gain_factor (Results 1 – 4 of 4) sorted by relevance
24 constexpr float gain_factor = 10.f; in TEST() local26 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() local37 GainApplier gain_applier(true, gain_factor); in TEST()46 constexpr float gain_factor = 10.f; in TEST() local48 GainApplier gain_applier(false, gain_factor); in TEST()53 initial_signal_level * gain_factor, 0.1f); in TEST()
22 bool GainCloseToOne(float gain_factor) { in GainCloseToOne() argument23 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() argument92 RTC_DCHECK_GT(gain_factor, 0.f); in SetGainFactor()93 current_gain_factor_ = gain_factor; in SetGainFactor()
26 bool CloseToOne(float gain_factor) { in CloseToOne() argument27 return 1.f - 1.f / kMaxFloatS16Value <= gain_factor && in CloseToOne()28 gain_factor <= 1.f + 1.f / kMaxFloatS16Value; in CloseToOne()
24 void SetGainFactor(float gain_factor);