diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-15 16:34:53 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-15 16:35:37 -0400 |
commit | 601a34521c2ce1d0167ed2f3c66f2fa6eeeb6b8e (patch) | |
tree | 43afbe2f75c190654c8c57d37e99653ab101c000 /libs/ardour/send.cc | |
parent | fdcc209354d830d8edce0e53a367fd2d6faef75d (diff) |
add an Amp to Delivery, remove it from Send, make use of this in various ::run() methods
Delivery::_amp now will handle monitor-related delicks assuming the Session::config.get_use_monitor_fades() is
true.
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r-- | libs/ardour/send.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc index 9d5fd619c3..2167c4319c 100644 --- a/libs/ardour/send.cc +++ b/libs/ardour/send.cc @@ -86,7 +86,6 @@ Send::Send (Session& s, boost::shared_ptr<Pannable> p, boost::shared_ptr<MuteMas //boost_debug_shared_ptr_mark_interesting (this, "send"); - _amp.reset (new Amp (_session)); _meter.reset (new PeakMeter (_session, name())); _delayline.reset (new DelayLine (_session, name())); @@ -174,7 +173,7 @@ Send::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframe sendbufs.read_from (bufs, nframes); assert(sendbufs.count() == bufs.count()); - /* gain control */ + /* automatable gain control */ _amp->set_gain_automation_buffer (_session.send_gain_automation_buffer ()); _amp->setup_gain_automation (start_frame, end_frame, nframes); |