From: Robin Gareus Date: Wed, 13 Apr 2016 18:54:42 +0000 (+0200) Subject: strict i/o sets enforces output port count. X-Git-Tag: 5.0-pre0~964 X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=commitdiff_plain;h=9fedb74b36e9788825d1bd20e21ab3724f9bc0b4 strict i/o sets enforces output port count. --- diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 5c34f42b7f..429ee3155f 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4757,6 +4757,9 @@ Route::input_port_count_changing (ChanCount to) bool Route::output_port_count_changing (ChanCount to) { + if (_strict_io && !_in_configure_processors) { + return true; + } for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) { if (processor_out_streams.get(*t) > to.get(*t)) { return true;