Revert "add an Amp to Delivery, remove it from Send, make use of this in various...
[ardour.git] / libs / ardour / send.cc
index 2167c4319c4f5ff8209e9d6c40e46ad1d5868b20..9d5fd619c3d486056c20e25dd5cc0792b3811f20 100644 (file)
@@ -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);