Searched refs:noise_level_ (Results 1 – 2 of 2) sorted by relevance
138 noise_level_(0), in EnergyEndpointer()159 noise_level_ = params_.decision_threshold() / 2.0f; in Restart()201 noise_level_ = params_.decision_threshold() / 2.0f; in Init()320 float target_threshold = 0.3f * rms_adapt_ + noise_level_; in ProcessAudioFrame()340 return GetDecibel(noise_level_); in GetNoiseLevelDb()351 noise_level_ = (alpha * noise_level_) + ((1 - alpha) * rms); in UpdateLevels()358 if (noise_level_ < rms) in UpdateLevels()359 noise_level_ = (0.999f * noise_level_) + (0.001f * rms); in UpdateLevels()361 noise_level_ = (0.95f * noise_level_) + (0.05f * rms); in UpdateLevels()364 decision_threshold_ = noise_level_ * 2; // 6dB above noise level. in UpdateLevels()
135 float noise_level_; variable