summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-02-23 15:41:21 +0100
committerRobin Gareus <robin@gareus.org>2016-02-23 15:41:21 +0100
commitf4553880f6a68b7cd8cb4cc5dcfc24612b00fc54 (patch)
tree002485e6de77e5944cbd8b34dea6d37bbf5ef13b /libs/ardour/session_process.cc
parent51385ced3c5564bb9155c9072321740b8eaac928 (diff)
Implement Lua session-scripts
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index 6f4ae531bb..b054d65787 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -358,6 +358,7 @@ Session::process_with_events (pframes_t nframes)
}
if (events.empty() || next_event == events.end()) {
+ try_run_lua (nframes); // also during export ?? ->move to process_without_events()
process_without_events (nframes);
return;
}
@@ -425,6 +426,8 @@ Session::process_with_events (pframes_t nframes)
this_nframes = abs (floor(frames_moved / _transport_speed));
}
+ try_run_lua (this_nframes);
+
if (this_nframes) {
click (_transport_frame, this_nframes);