diff options
Diffstat (limited to 'libs/plugins/a-comp.lv2')
-rw-r--r-- | libs/plugins/a-comp.lv2/a-comp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/plugins/a-comp.lv2/a-comp.c b/libs/plugins/a-comp.lv2/a-comp.c index 06d4a6181c..149e8f3eb1 100644 --- a/libs/plugins/a-comp.lv2/a-comp.c +++ b/libs/plugins/a-comp.lv2/a-comp.c @@ -374,7 +374,7 @@ run_mono(LV2_Handle instance, uint32_t n_samples) } if ( fabsf(makeup_target - makeup_gain) < 1e-6 ) { - makeup_gain = 1.0; + makeup_gain = makeup_target; } else { makeup_gain += tau * (makeup_target - makeup_gain) + 1e-12; } @@ -533,7 +533,7 @@ run_stereo(LV2_Handle instance, uint32_t n_samples) } if ( fabsf(makeup_target - makeup_gain) < 1e-6 ) { - makeup_gain = 1.0; + makeup_gain = makeup_target; } else { makeup_gain += tau * (makeup_target - makeup_gain) + 1e-12; } |