diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-16 19:31:10 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-16 19:31:10 +0000 |
commit | 5ddedeec73e3b05b2800d0176c1330eff9b9070c (patch) | |
tree | c6d6c1dc1f440eba054d1902316a1ba5af6e1ec1 /libs | |
parent | dc815ea8e84d28fc01a68225c2ece4399c4a9c7e (diff) |
make sure that meters are configured to handle the right number of channels, and allow internal returns to be restored from XML in non-monitor busses
git-svn-id: svn://localhost/ardour2/branches/3.0@6917 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/meter.cc | 2 | ||||
-rw-r--r-- | libs/ardour/route.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/meter.cc b/libs/ardour/meter.cc index 0104de4bbd..98c46067c7 100644 --- a/libs/ardour/meter.cc +++ b/libs/ardour/meter.cc @@ -115,6 +115,8 @@ PeakMeter::configure_io (ChanCount in, ChanCount out) current_meters = in; + reset_max_channels (in); + return Processor::configure_io (in, out); } diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 9db0d18a91..cd48995f6a 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -2162,7 +2162,7 @@ Route::set_processor_state (const XMLNode& node) } else if (prop->value() == "main-outs") { _main_outs->set_state (**niter, Stateful::current_state_version); new_order.push_back (_main_outs); - } else if (is_monitor() && prop->value() == "intreturn") { + } else if (prop->value() == "intreturn") { if (!_intreturn) { _intreturn.reset (new InternalReturn (_session)); must_configure = true; |