X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Funknown_processor.h;h=b9743c959938fbdcf261e4fd2f11905605c60788;hb=0531d0dd0c544b183320efc32cf2780bc46a17d2;hp=61a5734df22a65cef054d46c29e5058c472a4c0d;hpb=616f2a0370a10dcc7372a95f6bca9f5a45698980;p=ardour.git diff --git a/libs/ardour/ardour/unknown_processor.h b/libs/ardour/ardour/unknown_processor.h index 61a5734df2..b9743c9599 100644 --- a/libs/ardour/ardour/unknown_processor.h +++ b/libs/ardour/ardour/unknown_processor.h @@ -39,24 +39,22 @@ namespace ARDOUR { * session on a machine without a particular plugin will not corrupt * the session. */ -class UnknownProcessor : public Processor +class LIBARDOUR_API UnknownProcessor : public Processor { public: UnknownProcessor (Session &, XMLNode const &); + virtual ~UnknownProcessor (); - /* These processors are hidden from view */ - bool display_to_user () const { - return false; - } - - bool can_support_io_configuration (const ChanCount &, ChanCount &) { - return false; - } + bool can_support_io_configuration (const ChanCount &, ChanCount &); + void run (BufferSet& /*bufs*/, framepos_t /*start_frame*/, framepos_t /*end_frame*/, pframes_t /*nframes*/, bool /*result_required*/); XMLNode & state (bool); private: XMLNode _state; + bool have_ioconfig; + ChanCount *saved_input; + ChanCount *saved_output; }; }