Lines Matching refs:envelope_rate
336 float envelope_rate; in dk_update_envelope() local
374 envelope_rate = decibels_to_linear(db_per_frame); in dk_update_envelope()
393 envelope_rate = 1 - powf(x, 1 / attack_frames); in dk_update_envelope()
396 dk->envelope_rate = envelope_rate; in dk_update_envelope()
570 const float envelope_rate = dk->envelope_rate; in dk_compress_output() local
585 if (envelope_rate < 1) { in dk_compress_output()
587 float r = 1 - envelope_rate; in dk_compress_output()
648 float r = envelope_rate; in dk_compress_output()
713 const float envelope_rate = dk->envelope_rate; in dk_compress_output() local
728 if (envelope_rate < 1) { in dk_compress_output()
730 float r = 1 - envelope_rate; in dk_compress_output()
805 float r = envelope_rate; in dk_compress_output()
876 const float envelope_rate = dk->envelope_rate; in dk_compress_output() local
887 if (envelope_rate < 1) { in dk_compress_output()
891 float r = 1 - envelope_rate; in dk_compress_output()
925 float r = envelope_rate; in dk_compress_output()