diff options
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r-- | libs/ardour/send.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc index a4db60fc68..ea4c16a416 100644 --- a/libs/ardour/send.cc +++ b/libs/ardour/send.cc @@ -66,6 +66,24 @@ Send::~Send () } void +Send::activate () +{ + _amp->activate (); + _meter->activate (); + + Processor::activate (); +} + +void +Send::deactivate () +{ + _amp->deactivate (); + _meter->deactivate (); + + Processor::deactivate (); +} + +void Send::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes) { if (!_active || _output->n_ports() == ChanCount::ZERO) { @@ -155,6 +173,16 @@ Send::can_support_io_configuration (const ChanCount& in, ChanCount& out) const return true; } +bool +Send::configure_io (ChanCount in, ChanCount out) +{ + if (!_amp->configure_io (in, out) || !_meter->configure_io (in, out)) { + return false; + } + + return Processor::configure_io (in, out); +} + /** Set up the XML description of a send so that its name is unique. * @param state XML send state. * @param session Session. |