Fix uninitialised variable and remove bind of shared_ptr to a slot.
[ardour.git] / libs / ardour / ardour / plugin_insert.h
index 69b4ab1f8f703767d25c3cfec27b7b0412a075a0..348cda218e98de9b805e69a5a154f03caf365c21 100644 (file)
@@ -52,7 +52,7 @@ class PluginInsert : public Processor
 
        XMLNode& state(bool);
        XMLNode& get_state(void);
-       int set_state(const XMLNode&);
+       int set_state(const XMLNode&, int version);
 
        void run (BufferSet& in, sframes_t start_frame, sframes_t end_frame, nframes_t nframes);
        void silence (nframes_t nframes);
@@ -134,9 +134,10 @@ class PluginInsert : public Processor
        void automation_run (BufferSet& bufs, nframes_t nframes);
        void connect_and_run (BufferSet& bufs, nframes_t nframes, nframes_t offset, bool with_auto, nframes_t now = 0);
 
-       void init ();
        void set_automatable ();
        void auto_state_changed (Evoral::Parameter which);
+       void set_parameter_state (const XMLNode& node, int version);
+       void set_parameter_state_2X (const XMLNode& node, int version);
 
        int32_t count_for_configuration (ChanCount in, ChanCount out) const;