13
0

Add missing bindings (after 59daffea1)

This commit is contained in:
Robin Gareus 2017-02-14 14:45:21 +01:00
parent dbdc2afd6d
commit ad87d71412

View File

@ -663,6 +663,13 @@ LuaBindings::common (lua_State* L)
.beginClass <Progress> ("Progress")
.endClass ()
.beginClass <MusicFrame> ("MusicFrame")
.addConstructor <void (*) (framepos_t, int32_t)> ()
.addFunction ("set", &MusicFrame::set)
.addData ("frame", &MusicFrame::frame)
.addData ("division", &MusicFrame::division)
.endClass ()
.beginClass <AudioRange> ("AudioRange")
.addConstructor <void (*) (framepos_t, framepos_t, uint32_t)> ()
.addFunction ("length", &AudioRange::length)
@ -1594,6 +1601,13 @@ LuaBindings::common (lua_State* L)
.addConst ("PostFader", ARDOUR::Placement(PostFader))
.endNamespace ()
.beginNamespace ("MonitorChoice")
.addConst ("MonitorAuto", ARDOUR::MonitorChoice(MonitorAuto))
.addConst ("MonitorInput", ARDOUR::MonitorChoice(MonitorInput))
.addConst ("MonitorDisk", ARDOUR::MonitorChoice(MonitorDisk))
.addConst ("MonitorCue", ARDOUR::MonitorChoice(MonitorCue))
.endNamespace ()
.beginNamespace ("NoteMode")
.addConst ("Sustained", ARDOUR::NoteMode(Sustained))
.addConst ("Percussive", ARDOUR::NoteMode(Percussive))