projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5789206
)
Add Lua binding to query monotonic time (in microseconds)
author
Robin Gareus
<robin@gareus.org>
Tue, 21 Feb 2017 15:13:25 +0000
(16:13 +0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 21 Feb 2017 15:15:13 +0000
(16:15 +0100)
libs/ardour/luabindings.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/luabindings.cc
b/libs/ardour/luabindings.cc
index 87ef5a32abfc086fee2b3fed75136c31cca43383..9e253083c4f42eaf2c2bbcf45d54990e367635b4 100644
(file)
--- a/
libs/ardour/luabindings.cc
+++ b/
libs/ardour/luabindings.cc
@@
-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)