From c40437430acf4b65d8acb8b084eae8cd2f6f5402 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 11 Jun 2012 10:42:30 +0000 Subject: Make send automation work (#4734). git-svn-id: svn://localhost/ardour2/branches/3.0@12650 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/send.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/ardour/send.cc') 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 */ -- cgit v1.2.3