Fix MIDI port offsets.
[ardour.git] / libs / ardour / sidechain.cc
index e759af3d5d10119989a4f1e7cc93118ef2411319..9ee902e5d6d3076023ec9cfa9164e6524724afe0 100644 (file)
@@ -48,7 +48,7 @@ XMLNode&
 SideChain::state (bool full)
 {
        XMLNode& node = IOProcessor::state (full);
-       node.add_property ("type", "sidechain");
+       node.set_property ("type", "sidechain");
        return node;
 }
 
@@ -61,7 +61,7 @@ SideChain::set_state (const XMLNode& node, int version)
 }
 
 void
-SideChain::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, double /*speed*/, pframes_t nframes, bool)
+SideChain::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample, double /*speed*/, pframes_t nframes, bool)
 {
        if (_input->n_ports () == ChanCount::ZERO) {
                // inplace pass-through