13
0

Add Lua binding to query monotonic time (in microseconds)

This commit is contained in:
Robin Gareus 2017-02-21 16:13:25 +01:00
parent 5789206f88
commit 81bbeb51ea

View File

@ -1933,6 +1933,7 @@ LuaBindings::common (lua_State* L)
.addCFunction ("hsla_to_rgba", ARDOUR::LuaAPI::hsla_to_rgba)
.addCFunction ("color_to_rgba", ARDOUR::LuaAPI::color_to_rgba)
.addFunction ("usleep", Glib::usleep)
.addFunction ("monotonic_time", ::g_get_monotonic_time)
.addCFunction ("build_filename", ARDOUR::LuaAPI::build_filename)
.addFunction ("new_noteptr", ARDOUR::LuaAPI::new_noteptr)
.addCFunction ("sample_to_timecode", ARDOUR::LuaAPI::sample_to_timecode)