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