diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-21 17:54:13 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-21 17:54:13 +0200 |
commit | eb35ba1d95bc95d9b94bd920b8ebabfe16c1b44f (patch) | |
tree | d8ec138b1571289ab29d248081d05664a518845b /libs/ardour/unknown_processor.cc | |
parent | f2f9c2303a0cd6e41c308d85c5be6d053f4f7867 (diff) |
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.
Diffstat (limited to 'libs/ardour/unknown_processor.cc')
-rw-r--r-- | libs/ardour/unknown_processor.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 |