diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-11 10:42:30 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-11 10:42:30 +0000 |
commit | c40437430acf4b65d8acb8b084eae8cd2f6f5402 (patch) | |
tree | fb86bc9a651b442979d31c827020856e2c08097b /libs/ardour/send.cc | |
parent | 8f371cd60d3d2680dfd8de7702eb5f43c9f23240 (diff) |
Make send automation work (#4734).
git-svn-id: svn://localhost/ardour2/branches/3.0@12650 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r-- | libs/ardour/send.cc | 5 |
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 */ |