A few more typo fixes in libardour.
[ardour.git] / libs / ardour / send.cc
index 677b8c2e3b6f7e3f6fdf5e30cf3d291a35c38511..fb5c6b7b0c13265e850edffc666ac8b5762df764 100644 (file)
@@ -137,9 +137,8 @@ Send::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframe
 
        /* gain control */
 
-       // Can't automate gain for sends or returns yet because we need different buffers
-       // so that we don't overwrite the main automation data for the route amp
-       // _amp->setup_gain_automation (start_frame, end_frame, nframes);
+       _amp->set_gain_automation_buffer (_session.send_gain_automation_buffer ());
+       _amp->setup_gain_automation (start_frame, end_frame, nframes);
        _amp->run (sendbufs, start_frame, end_frame, nframes, true);
 
        /* deliver to outputs */