diff options
author | Damien Zammit <damien@zamaudio.com> | 2017-11-12 00:16:44 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2017-11-12 00:16:44 +1100 |
commit | 52aa9bf84806307f1df4a7b05aea3d93fb8abc58 (patch) | |
tree | 65f74791427fecaf0eb8d8e69fb01f0dcbe81a6d /libs/plugins/a-comp.lv2 | |
parent | f3efff4c7ef92e5053a05e2eae25dd9ed6e8f395 (diff) |
a-comp: Fix typo with previous patch
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; } |