From 214a92fcd52188c5141a47c64ca73df1b640dba0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 18 Jul 2019 05:22:17 +0200 Subject: [PATCH] Add Lua bindings to query&reset x-run count --- libs/ardour/luabindings.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 138835e123..fde6d594e9 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -2256,6 +2256,8 @@ LuaBindings::common (lua_State* L) .addFunction ("request_stop", &Session::request_stop) .addFunction ("request_play_loop", &Session::request_play_loop) .addFunction ("get_play_loop", &Session::get_play_loop) + .addFunction ("get_xrun_count", &Session::get_xrun_count) + .addFunction ("reset_xrun_count", &Session::reset_xrun_count) .addFunction ("last_transport_start", &Session::last_transport_start) .addFunction ("goto_start", &Session::goto_start) .addFunction ("goto_end", &Session::goto_end)