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()512 float detector_average = dk->detector_average; in dk_update_detector_average() local539 int is_release = (gain > detector_average); in dk_update_detector_average()542 detector_average += (gain - detector_average) * in dk_update_detector_average()550 detector_average += (gain - detector_average) * in dk_update_detector_average()554 detector_average = gain; in dk_update_detector_average()558 if (isbadf(detector_average)) in dk_update_detector_average()559 detector_average = 1.0f; in dk_update_detector_average()561 detector_average = min(detector_average, 1.0f); in dk_update_detector_average()[all …]
29 float detector_average; member