X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsidechain.cc;h=9ee902e5d6d3076023ec9cfa9164e6524724afe0;hb=5ada17eba0195d90f0685776251b384efdf5168e;hp=badbd63edf666784b7407a4831cc260c0060cc4b;hpb=dc1102844a3fe8095e96cc1494115c29185f0f8f;p=ardour.git diff --git a/libs/ardour/sidechain.cc b/libs/ardour/sidechain.cc index badbd63edf..9ee902e5d6 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; @@ -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, 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