From 6f1b0ce3d09bd6634ade6b4bc9e1ee6722c8d44e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 28 Mar 2020 14:56:20 +0100 Subject: [PATCH] Add Lua bindings to check engine status --- libs/ardour/luabindings.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index ebf0a12e97..0bf60ea835 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -2269,6 +2269,9 @@ LuaBindings::common (lua_State* L) .addFunction ("set_sample_rate", &AudioEngine::set_sample_rate) .addFunction ("set_buffer_size", &AudioEngine::set_buffer_size) .addFunction ("get_last_backend_error", &AudioEngine::get_last_backend_error) + .addFunction ("freewheeling", &AudioEngine::freewheeling) + .addFunction ("running", &AudioEngine::running) + .addFunction ("processed_samples", &AudioEngine::processed_samples) .endClass() .deriveClass ("VCAManager")