allow to query export profile type
[ardour.git] / libs / ardour / unknown_processor.cc
index df40d4d04098ec7293a5d46618f2be4b66ef9a57..8fbb1787c7457bae6a68b42eef921e10cacbed9c 100644 (file)
@@ -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;