X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Funknown_processor.cc;h=8fbb1787c7457bae6a68b42eef921e10cacbed9c;hb=c4fcb12d128857a0eaab7d2093d38fdf4cc641cc;hp=df40d4d04098ec7293a5d46618f2be4b66ef9a57;hpb=f65bcc6e74314adce53b6941785b783383c2d7ed;p=ardour.git diff --git a/libs/ardour/unknown_processor.cc b/libs/ardour/unknown_processor.cc index df40d4d040..8fbb1787c7 100644 --- a/libs/ardour/unknown_processor.cc +++ b/libs/ardour/unknown_processor.cc @@ -20,7 +20,7 @@ #include "ardour/audio_buffer.h" #include "ardour/unknown_processor.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; using namespace ARDOUR; @@ -103,12 +103,15 @@ 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 -UnknownProcessor::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, pframes_t nframes, bool) +UnknownProcessor::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, double /*speed*/, pframes_t nframes, bool) { if (!have_ioconfig) { return;