summaryrefslogtreecommitdiff
path: root/libs/ardour/plugin_insert.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-16 15:13:04 +0200
committerRobin Gareus <robin@gareus.org>2017-07-16 16:49:30 +0200
commit906cf85982c209caebed3053c3a33d77ca6ddee0 (patch)
tree1441bc4b1db54596786c2cf8bb029809f35d1874 /libs/ardour/plugin_insert.cc
parent6c5262012b9b31bf0b012fca8d09d1ae7e99ae0d (diff)
Rename private method
The same name (automation_run) is used in different context (mute) for only processing automation.
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r--libs/ardour/plugin_insert.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc
index 6dbfcc6a2b..a29381e674 100644
--- a/libs/ardour/plugin_insert.cc
+++ b/libs/ardour/plugin_insert.cc
@@ -1162,7 +1162,7 @@ PluginInsert::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame
/* run as normal if we are active or moving from inactive to active */
if (_session.transport_rolling() || _session.bounce_processing()) {
- automation_run (bufs, start_frame, end_frame, speed, nframes);
+ automate_and_run (bufs, start_frame, end_frame, speed, nframes);
} else {
Glib::Threads::Mutex::Lock lm (control_lock(), Glib::Threads::TRY_LOCK);
connect_and_run (bufs, start_frame, end_frame, speed, nframes, 0, lm.locked());
@@ -1181,7 +1181,7 @@ PluginInsert::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame
}
void
-PluginInsert::automation_run (BufferSet& bufs, framepos_t start, framepos_t end, double speed, pframes_t nframes)
+PluginInsert::automate_and_run (BufferSet& bufs, framepos_t start, framepos_t end, double speed, pframes_t nframes)
{
Evoral::ControlEvent next_event (0, 0.0f);
framecnt_t offset = 0;