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.
This commit is contained in:
Robin Gareus 2016-05-21 17:54:13 +02:00
parent f2f9c2303a
commit eb35ba1d95

View file

@ -103,8 +103,11 @@ UnknownProcessor::can_support_io_configuration (const ChanCount &in, ChanCount &
out = in; out = in;
#endif #endif
return true; return true;
} else {
PBD::error << _("Using plugin-stub with mismatching i/o configuration for: ") << name() << endmsg;
out = in;
} }
return false; return true;
} }
void void