Lines Matching refs:envelope_rate
343 float envelope_rate; in dk_update_envelope() local
381 envelope_rate = decibels_to_linear(db_per_frame); in dk_update_envelope()
400 envelope_rate = 1 - powf(x, 1 / attack_frames); in dk_update_envelope()
403 dk->envelope_rate = envelope_rate; in dk_update_envelope()
575 const float envelope_rate = dk->envelope_rate; in dk_compress_output() local
590 if (envelope_rate < 1) { in dk_compress_output()
592 float r = 1 - envelope_rate; in dk_compress_output()
651 float r = envelope_rate; in dk_compress_output()
714 const float envelope_rate = dk->envelope_rate; in dk_compress_output() local
729 if (envelope_rate < 1) { in dk_compress_output()
731 float r = 1 - envelope_rate; in dk_compress_output()
804 float r = envelope_rate; in dk_compress_output()
873 const float envelope_rate = dk->envelope_rate; in dk_compress_output() local
884 if (envelope_rate < 1) { in dk_compress_output()
888 float r = 1 - envelope_rate; in dk_compress_output()
921 float r = envelope_rate; in dk_compress_output()