From 807bc4c3d6c619244ac01d6be8ad98109140e3e6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 4 May 2009 17:05:55 +0000 Subject: Reconfigure GUI meters when route I/O configuration changes. git-svn-id: svn://localhost/ardour2/branches/3.0@5037 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/meter.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour/meter.cc') diff --git a/libs/ardour/meter.cc b/libs/ardour/meter.cc index bdb8fec708..ec2a136fb5 100644 --- a/libs/ardour/meter.cc +++ b/libs/ardour/meter.cc @@ -98,12 +98,16 @@ PeakMeter::reset_max () bool PeakMeter::configure_io (ChanCount in, ChanCount out) { + cerr << "METER CONFIGURE IO " << in << " -> " << out << endl; + /* we're transparent no matter what. fight the power. */ if (out != in) { return false; } uint32_t limit = in.n_total(); + + cerr << "METER LIMIT " << limit << endl; while (_peak_power.size() > limit) { _peak_power.pop_back(); -- cgit v1.2.3