fix ChanCount min/max
[ardour.git] / libs / ardour / route.cc
index 2ce15a6149db7d3f08fc75bac0e600b85958ffbf..de854e7d269d5755df83c8add4bb9774392def1e 100644 (file)
@@ -2155,6 +2155,7 @@ Route::configure_processors_unlocked (ProcessorStreams* err)
 
                if (!(*p)->configure_io(c->first, c->second)) {
                        DEBUG_TRACE (DEBUG::Processors, string_compose ("%1: configuration failed\n", _name));
+                       return -1;
                }
                processor_max_streams = ChanCount::max(processor_max_streams, c->first);
                processor_max_streams = ChanCount::max(processor_max_streams, c->second);