projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c9db82
)
Fixed metering instant-dropoff bug.
author
David Robillard
<d@drobilla.net>
Sun, 6 May 2007 01:36:26 +0000
(
01:36
+0000)
committer
David Robillard
<d@drobilla.net>
Sun, 6 May 2007 01:36:26 +0000
(
01:36
+0000)
git-svn-id: svn://localhost/ardour2/branches/midi@1786
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/meter.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/meter.cc
b/libs/ardour/meter.cc
index bc1affa2c3ac04e47dd3e03b7bc2b78429b694fb..4a873600f6f7828ef3da29d5e40ad5945f177974 100644
(file)
--- a/
libs/ardour/meter.cc
+++ b/
libs/ardour/meter.cc
@@
-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);
}
}