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/thread_buffers.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/thread_buffers.cc')
-rw-r--r-- | libs/ardour/thread_buffers.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/thread_buffers.cc b/libs/ardour/thread_buffers.cc index 99dd931375..34f6f9828b 100644 --- a/libs/ardour/thread_buffers.cc +++ b/libs/ardour/thread_buffers.cc @@ -32,6 +32,7 @@ ThreadBuffers::ThreadBuffers () , scratch_buffers (new BufferSet) , mix_buffers (new BufferSet) , gain_automation_buffer (0) + , send_gain_automation_buffer (0) , pan_automation_buffer (0) , npan_buffers (0) { @@ -67,6 +68,8 @@ ThreadBuffers::ensure_buffers (ChanCount howmany) delete [] gain_automation_buffer; gain_automation_buffer = new gain_t[_engine->raw_buffer_size (DataType::AUDIO)]; + delete [] send_gain_automation_buffer; + send_gain_automation_buffer = new gain_t[_engine->raw_buffer_size (DataType::AUDIO)]; allocate_pan_automation_buffers (_engine->raw_buffer_size (DataType::AUDIO), howmany.n_audio(), false); } |