mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue