#include "ardour/session.h"
#include "ardour/sidechain.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace PBD;
}
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;
}
}
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