Home
last modified time | relevance | path

Searched refs:detector_average (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/dsp/
Ddrc_kernel.c41 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() local
539 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 …]
Ddrc_kernel.h29 float detector_average; member