Make port inserts work.
[ardour.git] / libs / ardour / ardour / port_insert.h
index 18f54b021621009d022084d334fd06470912524f..97f930df6e50dafda1ec2690aa8b19a96beb5722 100644 (file)
@@ -49,9 +49,9 @@ class PortInsert : public IOProcessor
 
        XMLNode& state(bool full);
        XMLNode& get_state(void);
-       int set_state(const XMLNode&);
+       int set_state (const XMLNode&, int version);
 
-       void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes);
+       void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes, bool);
 
        nframes_t signal_latency() const;
 
@@ -60,6 +60,9 @@ class PortInsert : public IOProcessor
        bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
        bool configure_io (ChanCount in, ChanCount out);
 
+       void activate ();
+       void deactivate ();
+
        uint32_t bit_slot() const { return bitslot; }
 
   private: