13
0

Update processor Lua bindings

This commit is contained in:
Robin Gareus 2017-02-22 15:24:33 +01:00
parent 7b0cd19899
commit c12fa9c3cb

View File

@ -1200,7 +1200,8 @@ LuaBindings::common (lua_State* L)
.deriveWSPtrClass <Processor, SessionObject> ("Processor")
.addCast<Automatable> ("to_automatable")
.addCast<PluginInsert> ("to_insert")
.addCast<PluginInsert> ("to_insert") // deprecated
.addCast<PluginInsert> ("to_plugininsert")
.addCast<SideChain> ("to_sidechain")
.addCast<IOProcessor> ("to_ioprocessor")
.addCast<UnknownProcessor> ("to_unknownprocessor")
@ -1213,6 +1214,7 @@ LuaBindings::common (lua_State* L)
#endif
.addCast<PeakMeter> ("to_meter")
.addFunction ("display_name", &Processor::display_name)
.addFunction ("display_to_user", &Processor::display_to_user)
.addFunction ("active", &Processor::active)
.addFunction ("activate", &Processor::activate)
.addFunction ("deactivate", &Processor::deactivate)