Fixed metering instant-dropoff bug.
git-svn-id: svn://localhost/ardour2/branches/midi@1786 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7c9db826bc
commit
34009a4565
@ -121,7 +121,7 @@ PeakMeter::meter ()
|
||||
_visible_peak_power[n] = new_peak;
|
||||
} else {
|
||||
// do falloff
|
||||
new_peak = _visible_peak_power[n] - Config->get_meter_falloff();
|
||||
new_peak = _visible_peak_power[n] - (Config->get_meter_falloff() * 0.01f);
|
||||
_visible_peak_power[n] = std::max (new_peak, -INFINITY);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user