Lua bindings for locations and locate disposition
This commit is contained in:
parent
44e55c501e
commit
d14d396967
@ -843,6 +843,7 @@ LuaBindings::common (lua_State* L)
|
|||||||
.addFunction ("length", &Location::length)
|
.addFunction ("length", &Location::length)
|
||||||
.addFunction ("set_start", &Location::set_start)
|
.addFunction ("set_start", &Location::set_start)
|
||||||
.addFunction ("set_end", &Location::set_end)
|
.addFunction ("set_end", &Location::set_end)
|
||||||
|
.addFunction ("set", &Location::set)
|
||||||
.addFunction ("set_length", &Location::set)
|
.addFunction ("set_length", &Location::set)
|
||||||
.addFunction ("set_name", &Location::set_name)
|
.addFunction ("set_name", &Location::set_name)
|
||||||
.addFunction ("move_to", &Location::move_to)
|
.addFunction ("move_to", &Location::move_to)
|
||||||
@ -2015,6 +2016,12 @@ LuaBindings::common (lua_State* L)
|
|||||||
.addConst ("TRS_UI", ARDOUR::TransportRequestSource(TRS_UI))
|
.addConst ("TRS_UI", ARDOUR::TransportRequestSource(TRS_UI))
|
||||||
.endNamespace ()
|
.endNamespace ()
|
||||||
|
|
||||||
|
.beginNamespace ("LocateTransportDisposition")
|
||||||
|
.addConst ("MustRoll", ARDOUR::LocateTransportDisposition(MustRoll))
|
||||||
|
.addConst ("MustStop", ARDOUR::LocateTransportDisposition(MustStop))
|
||||||
|
.addConst ("RollIfAppropriate", ARDOUR::LocateTransportDisposition(RollIfAppropriate))
|
||||||
|
.endNamespace ()
|
||||||
|
|
||||||
.beginNamespace ("SampleFormat")
|
.beginNamespace ("SampleFormat")
|
||||||
.addConst ("Float", ARDOUR::SampleFormat(FormatFloat))
|
.addConst ("Float", ARDOUR::SampleFormat(FormatFloat))
|
||||||
.addConst ("Int24", ARDOUR::SampleFormat(FormatInt24))
|
.addConst ("Int24", ARDOUR::SampleFormat(FormatInt24))
|
||||||
|
Loading…
Reference in New Issue
Block a user