Merge branch 'master' into cairocanvas
[ardour.git] / libs / ardour / ardour / plugin_insert.h
index d80c759cff6f229c5c5f8a423dc2f3a1d87a0ff2..627c8475139616f0e5a0788f3acd65a997905f34 100644 (file)
@@ -26,6 +26,7 @@
 #include <boost/weak_ptr.hpp>
 
 #include "ardour/ardour.h"
+#include "ardour/libardour_visibility.h"
 #include "ardour/types.h"
 #include "ardour/processor.h"
 #include "ardour/automation_control.h"
@@ -40,7 +41,7 @@ class Plugin;
 
 /** Plugin inserts: send data through a plugin
  */
-class PluginInsert : public Processor
+class LIBARDOUR_API PluginInsert : public Processor
 {
   public:
        PluginInsert (Session&, boost::shared_ptr<Plugin> = boost::shared_ptr<Plugin>());
@@ -69,7 +70,7 @@ class PluginInsert : public Processor
        bool     set_count (uint32_t num);
        uint32_t get_count () const { return _plugins.size(); }
 
-       bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
+       bool can_support_io_configuration (const ChanCount& in, ChanCount& out);
        bool configure_io (ChanCount in, ChanCount out);
 
        bool has_no_inputs() const;
@@ -122,8 +123,7 @@ class PluginInsert : public Processor
        }
 
        PBD::Signal2<void,BufferSet*, BufferSet*> AnalysisDataGathered;
-       /** Emitted when the return value of splitting () has changed */
-       PBD::Signal0<void> SplittingChanged;
+       PBD::Signal0<void> PluginIoReConfigure;
 
        /** Enumeration of the ways in which we can match our insert's
         *  IO to that of the plugin(s).
@@ -160,6 +160,8 @@ class PluginInsert : public Processor
        BufferSet _signal_analysis_inputs;
        BufferSet _signal_analysis_outputs;
 
+       ChanCount midi_bypass;
+
        /** Description of how we can match our plugin's IO to our own insert IO */
        struct Match {
                Match () : method (Impossible), plugins (0) {}
@@ -170,7 +172,7 @@ class PluginInsert : public Processor
                ChanCount hide;        ///< number of channels to hide
        };
 
-       Match private_can_support_io_configuration (ChanCount const &, ChanCount &) const;
+       Match private_can_support_io_configuration (ChanCount const &, ChanCount &);
 
        /** details of the match currently being used */
        Match _match;