update route/processor semantics
[ardour.git] / libs / ardour / sidechain.cc
index 0e9880ecac119ced11f994af5d99f30d45675189..0ac1e3227b56c5cc0b6415cdde69b2522b8d811b 100644 (file)
@@ -41,6 +41,7 @@ SideChain::SideChain (Session& s, const std::string& name)
 
 SideChain::~SideChain ()
 {
+       disconnect ();
 }
 
 XMLNode&
@@ -60,7 +61,7 @@ SideChain::set_state (const XMLNode& node, int version)
 }
 
 void
-SideChain::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool)
+SideChain::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, double /*speed*/, pframes_t nframes, bool)
 {
        if (_input->n_ports () == ChanCount::ZERO) {
                // inplace pass-through