summaryrefslogtreecommitdiff
path: root/libs/ardour/process_thread.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-25 21:24:58 +0200
committerRobin Gareus <robin@gareus.org>2015-04-25 21:24:58 +0200
commit517467f29747acde8baa6f42ed064e2ed58f5ea5 (patch)
treeef41b57cd66aaca1c7b639a2c50ee3463879c7b9 /libs/ardour/process_thread.cc
parent1e5be9ebfd35f6b603368f394e7f2448b2c2e56d (diff)
prepare trim automation
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 d4a3d2f390..cf48c50c70 100644
--- a/libs/ardour/process_thread.cc
+++ b/libs/ardour/process_thread.cc
@@ -169,6 +169,17 @@ ProcessThread::gain_automation_buffer()
}
gain_t*
+ProcessThread::trim_automation_buffer()
+{
+ ThreadBuffers* tb = _private_thread_buffers.get();
+ assert (tb);
+
+ gain_t *g = tb->trim_automation_buffer;
+ assert (g);
+ return g;
+}
+
+gain_t*
ProcessThread::send_gain_automation_buffer()
{
ThreadBuffers* tb = _private_thread_buffers.get();