summaryrefslogtreecommitdiff
path: root/libs/ardour/send.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r--libs/ardour/send.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc
index 677b8c2e3b..fb5c6b7b0c 100644
--- a/libs/ardour/send.cc
+++ b/libs/ardour/send.cc
@@ -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 */