summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-09-11 14:34:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-09-11 14:34:21 +0000
commitced90fa400b25f3b2ad385ff889215463766a32d (patch)
tree93ca36f90a18f911ce93bc85a68edf1e20ed264f /libs/ardour/io.cc
parent772b002fea964485b73fd4f73957a6c72b67d504 (diff)
add SRC quality to import dialog; fix instances of missing waveforms where new sources are created; add fader+meter to import dialog; metering now doesn't return -inf for ninputs == 0, only if ninputs & noutputs == 0
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2457 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r--libs/ardour/io.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index cb66830409..72d6ebe1ca 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -2475,7 +2475,7 @@ IO::meter ()
{
Glib::Mutex::Lock lm (io_lock); // READER: meter thread.
uint32_t limit = max (_ninputs, _noutputs);
-
+
for (uint32_t n = 0; n < limit; ++n) {
/* XXX we should use atomic exchange here */
@@ -2497,7 +2497,6 @@ IO::meter ()
_max_peak_power[n] = max (new_peak, _max_peak_power[n]);
-
if (Config->get_meter_falloff() == 0.0f || new_peak > _visible_peak_power[n]) {
_visible_peak_power[n] = new_peak;
} else {