summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-13 20:54:42 +0200
committerRobin Gareus <robin@gareus.org>2016-04-13 20:54:42 +0200
commit9fedb74b36e9788825d1bd20e21ab3724f9bc0b4 (patch)
tree8fb6731a7e61c077209eab568fd3a06c474de01e
parent868ed41d09aaae8792adc75b62c261ba0dbfd458 (diff)
strict i/o sets enforces output port count.
-rw-r--r--libs/ardour/route.cc3
1 files changed, 3 insertions, 0 deletions
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;