summaryrefslogtreecommitdiff
path: root/libs/ardour/process_thread.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-11 10:42:30 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-11 10:42:30 +0000
commitc40437430acf4b65d8acb8b084eae8cd2f6f5402 (patch)
treefb86bc9a651b442979d31c827020856e2c08097b /libs/ardour/process_thread.cc
parent8f371cd60d3d2680dfd8de7702eb5f43c9f23240 (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/process_thread.cc')
-rw-r--r--libs/ardour/process_thread.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/process_thread.cc b/libs/ardour/process_thread.cc
index 55aa692001..ae7466c7f0 100644
--- a/libs/ardour/process_thread.cc
+++ b/libs/ardour/process_thread.cc
@@ -134,6 +134,17 @@ ProcessThread::gain_automation_buffer()
return g;
}
+gain_t*
+ProcessThread::send_gain_automation_buffer()
+{
+ ThreadBuffers* tb = _private_thread_buffers->get();
+ assert (tb);
+
+ gain_t* g = tb->send_gain_automation_buffer;
+ assert (g);
+ return g;
+}
+
pan_t**
ProcessThread::pan_automation_buffer()
{