13
0

Fixed metering instant-dropoff bug.

git-svn-id: svn://localhost/ardour2/branches/midi@1786 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2007-05-06 01:36:26 +00:00
parent 7c9db826bc
commit 34009a4565

View File

@ -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);
}
}