move LuaOSC into Ardour namespace

This commit is contained in:
Robin Gareus 2016-03-26 14:54:45 +01:00
parent 56a41b9347
commit 75e34b291b
2 changed files with 3 additions and 1 deletions

View File

@ -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 ();
}

View File

@ -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, ...)