diff options
author | David Robillard <d@drobilla.net> | 2009-05-04 17:05:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-04 17:05:55 +0000 |
commit | 807bc4c3d6c619244ac01d6be8ad98109140e3e6 (patch) | |
tree | 14373b288fdeb828bd4cc204b6cc6815e77a5cce /libs/ardour/meter.cc | |
parent | ca10cc82a4374a5b413c06ead6cc89c53f8881ee (diff) |
Reconfigure GUI meters when route I/O configuration changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@5037 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/meter.cc')
-rw-r--r-- | libs/ardour/meter.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |