Searched refs:detector_average (Results 1 – 2 of 2) sorted by relevance
41 dk->detector_average = 0; in dk_init()332 float desired_gain = dk->detector_average; in dk_update_envelope()491 float detector_average = dk->detector_average; in dk_update_detector_average() local518 int is_release = (gain > detector_average); in dk_update_detector_average()521 detector_average += (gain - detector_average) * in dk_update_detector_average()529 detector_average += (gain - detector_average) * in dk_update_detector_average()533 detector_average = gain; in dk_update_detector_average()537 if (isbadf(detector_average)) in dk_update_detector_average()538 detector_average = 1.0f; in dk_update_detector_average()540 detector_average = min(detector_average, 1.0f); in dk_update_detector_average()[all …]
29 float detector_average; member