#include "ardour/session.h"
#include "ardour/sidechain.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace PBD;
SideChain::~SideChain ()
{
+ disconnect ();
}
XMLNode&
SideChain::state (bool full)
{
XMLNode& node = IOProcessor::state (full);
- node.add_property ("type", "sidechain");
+ node.set_property ("type", "sidechain");
return node;
}
}
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