move LuaOSC into Ardour namespace
This commit is contained in:
parent
56a41b9347
commit
75e34b291b
|
@ -762,11 +762,13 @@ void
|
||||||
LuaBindings::osc (lua_State* L)
|
LuaBindings::osc (lua_State* L)
|
||||||
{
|
{
|
||||||
luabridge::getGlobalNamespace (L)
|
luabridge::getGlobalNamespace (L)
|
||||||
|
.beginNamespace ("ARDOUR")
|
||||||
.beginNamespace ("LuaOSC")
|
.beginNamespace ("LuaOSC")
|
||||||
.beginClass<LuaOSC::Address> ("Address")
|
.beginClass<LuaOSC::Address> ("Address")
|
||||||
.addConstructor<void (*) (std::string)> ()
|
.addConstructor<void (*) (std::string)> ()
|
||||||
.addCFunction ("send", &LuaOSC::Address::send)
|
.addCFunction ("send", &LuaOSC::Address::send)
|
||||||
.endClass ()
|
.endClass ()
|
||||||
|
.endNamespace ()
|
||||||
.endNamespace ();
|
.endNamespace ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ end
|
||||||
function factory (params)
|
function factory (params)
|
||||||
return function (signal, ref, ...)
|
return function (signal, ref, ...)
|
||||||
local uri = params["unique"] or "osc.udp://localhost:7890"
|
local uri = params["unique"] or "osc.udp://localhost:7890"
|
||||||
local tx = LuaOSC.Address (uri)
|
local tx = ARDOUR.LuaOSC.Address (uri)
|
||||||
-- debug print (stdout)
|
-- debug print (stdout)
|
||||||
-- print (signal, ref, ...)
|
-- print (signal, ref, ...)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user