From eb35ba1d95bc95d9b94bd920b8ebabfe16c1b44f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 21 May 2016 17:54:13 +0200 Subject: fix assert/crash if unknown processor's I/O mismatches This can happen on OS X. Audio Units did not have a MIDI bypass. Ardour adds an implicit bypass and existing "unknown/missing" plugins after the instrument will see a different i/o config. --- libs/ardour/unknown_processor.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/ardour') diff --git a/libs/ardour/unknown_processor.cc b/libs/ardour/unknown_processor.cc index df40d4d040..e7f738507d 100644 --- a/libs/ardour/unknown_processor.cc +++ b/libs/ardour/unknown_processor.cc @@ -103,8 +103,11 @@ UnknownProcessor::can_support_io_configuration (const ChanCount &in, ChanCount & out = in; #endif return true; + } else { + PBD::error << _("Using plugin-stub with mismatching i/o configuration for: ") << name() << endmsg; + out = in; } - return false; + return true; } void -- cgit v1.2.3