diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-16 18:32:28 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-16 18:38:44 -0400 |
commit | 96cc1dbe80f0378ca010c1c5ac37913958193360 (patch) | |
tree | fc89043007be602c33bf8752bc5461dc73d23349 /libs/ardour/send.cc | |
parent | 202b9cc82a6d602ec842b60d609ebdcfe6bac16d (diff) |
Revert "add an Amp to Delivery, remove it from Send, make use of this in various ::run() methods"
This reverts commit 601a34521c2ce1d0167ed2f3c66f2fa6eeeb6b8e.
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r-- | libs/ardour/send.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc index 2167c4319c..9d5fd619c3 100644 --- a/libs/ardour/send.cc +++ b/libs/ardour/send.cc @@ -86,6 +86,7 @@ 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())); @@ -173,7 +174,7 @@ Send::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframe sendbufs.read_from (bufs, nframes); assert(sendbufs.count() == bufs.count()); - /* automatable gain control */ + /* gain control */ _amp->set_gain_automation_buffer (_session.send_gain_automation_buffer ()); _amp->setup_gain_automation (start_frame, end_frame, nframes); |