X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsidechain.cc;h=f326218453ce23bb0a732ae042cca57b29191639;hb=9336bddee2b40e3e70699eec897ca100074db87a;hp=0ac1e3227b56c5cc0b6415cdde69b2522b8d811b;hpb=e9a8ccc7e2826d8fe91eff34ee8a0683a7f7aac6;p=ardour.git diff --git a/libs/ardour/sidechain.cc b/libs/ardour/sidechain.cc index 0ac1e3227b..f326218453 100644 --- a/libs/ardour/sidechain.cc +++ b/libs/ardour/sidechain.cc @@ -28,7 +28,7 @@ #include "ardour/session.h" #include "ardour/sidechain.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace ARDOUR; using namespace PBD; @@ -45,10 +45,10 @@ SideChain::~SideChain () } XMLNode& -SideChain::state (bool full) +SideChain::state () { - XMLNode& node = IOProcessor::state (full); - node.add_property ("type", "sidechain"); + XMLNode& node = IOProcessor::state (); + 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