diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-23 15:41:21 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-23 15:41:21 +0100 |
commit | f4553880f6a68b7cd8cb4cc5dcfc24612b00fc54 (patch) | |
tree | 002485e6de77e5944cbd8b34dea6d37bbf5ef13b /libs/ardour/session_process.cc | |
parent | 51385ced3c5564bb9155c9072321740b8eaac928 (diff) |
Implement Lua session-scripts
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r-- | libs/ardour/session_process.cc | 3 |
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); |