projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
call IO::prepare_for_reset() on BOTH IO nodes of a PortInsert's XML state, not just...
[ardour.git]
/
libs
/
ardour
/
sidechain.cc
diff --git
a/libs/ardour/sidechain.cc
b/libs/ardour/sidechain.cc
index 0ac1e3227b56c5cc0b6415cdde69b2522b8d811b..f326218453ce23bb0a732ae042cca57b29191639 100644
(file)
--- a/
libs/ardour/sidechain.cc
+++ b/
libs/ardour/sidechain.cc
@@
-28,7
+28,7
@@
#include "ardour/session.h"
#include "ardour/sidechain.h"
#include "ardour/session.h"
#include "ardour/sidechain.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace ARDOUR;
using namespace PBD;
@@
-45,10
+45,10
@@
SideChain::~SideChain ()
}
XMLNode&
}
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;
}
return node;
}
@@
-61,7
+61,7
@@
SideChain::set_state (const XMLNode& node, int version)
}
void
}
void
-SideChain::run (BufferSet& bufs,
framepos_t start_frame, framepos_t end_fram
e, double /*speed*/, pframes_t nframes, bool)
+SideChain::run (BufferSet& bufs,
samplepos_t start_sample, samplepos_t end_sampl
e, double /*speed*/, pframes_t nframes, bool)
{
if (_input->n_ports () == ChanCount::ZERO) {
// inplace pass-through
{
if (_input->n_ports () == ChanCount::ZERO) {
// inplace pass-through