diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2019-04-15 15:33:44 +0200 |
---|---|---|
committer | Johannes Mueller <github@johannes-mueller.org> | 2019-04-15 18:40:27 +0200 |
commit | ca05f03e72c1e6f4ea5fe8aa63365b8fd6ff9b9d (patch) | |
tree | af6aa4d72792316ff1a7c408844a52a552a04d82 /libs/plugins/a-comp.lv2/a-comp.c | |
parent | beaaa80d42126122d07b87766f7eff1ee16c1044 (diff) |
Align port layout and code of a-exp with the one of a-comp
Diffstat (limited to 'libs/plugins/a-comp.lv2/a-comp.c')
-rw-r--r-- | libs/plugins/a-comp.lv2/a-comp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/plugins/a-comp.lv2/a-comp.c b/libs/plugins/a-comp.lv2/a-comp.c index b256f25df1..3b7c21fcc1 100644 --- a/libs/plugins/a-comp.lv2/a-comp.c +++ b/libs/plugins/a-comp.lv2/a-comp.c @@ -361,6 +361,7 @@ run(LV2_Handle instance, uint32_t n_samples) Lyg = 0.f; Lxg = (ingain==0.f) ? -160.f : to_dB(ingain); Lxg = sanitize_denormal(Lxg); + if (Lxg > in_peak_db) { in_peak_db = Lxg; } |