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/internal_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/internal_send.cc')
-rw-r--r-- | libs/ardour/internal_send.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc index 671936b0ff..26631d0fad 100644 --- a/libs/ardour/internal_send.cc +++ b/libs/ardour/internal_send.cc @@ -176,10 +176,8 @@ InternalSend::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame Amp::apply_simple_gain (mixbufs, nframes, tgain); } - // 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 (mixbufs, start_frame, end_frame, nframes, true); /* consider metering */ |