13
0

Add Lua bindings to check engine status

This commit is contained in:
Robin Gareus 2020-03-28 14:56:20 +01:00
parent 34e68fe5e2
commit 6f1b0ce3d0
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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, PBD::StatefulDestructible> ("VCAManager")