some more route related lua bindings
This commit is contained in:
parent
455d4683f6
commit
207d9c81db
|
@ -517,6 +517,8 @@ LuaBindings::common (lua_State* L)
|
|||
.addFunction ("active", &Route::active)
|
||||
.addFunction ("set_active", &Route::set_active)
|
||||
.addFunction ("nth_plugin", &Route::nth_plugin)
|
||||
.addFunction ("nth_processor", &Route::nth_processor)
|
||||
.addFunction ("nth_send", &Route::nth_send)
|
||||
.addFunction ("add_processor_by_index", &Route::add_processor_by_index)
|
||||
.addFunction ("remove_processor", &Route::remove_processor)
|
||||
.addFunction ("replace_processor", &Route::replace_processor)
|
||||
|
@ -672,6 +674,14 @@ LuaBindings::common (lua_State* L)
|
|||
.addCast<PluginInsert> ("to_insert")
|
||||
.addCast<SideChain> ("to_sidechain")
|
||||
.addCast<IOProcessor> ("to_ioprocessor")
|
||||
.addCast<UnknownProcessor> ("to_unknownprocessor")
|
||||
.addCast<Amp> ("to_amp")
|
||||
#if 0 // those objects are not yet bound
|
||||
.addCast<MonitorProcessor> ("to_monitorprocessor")
|
||||
.addCast<CapturingProcessor> ("to_capturingprocessor")
|
||||
.addCast<DelayLine> ("to_delayline")
|
||||
.addCast<PeakMeter> ("to_meter")
|
||||
#endif
|
||||
.addFunction ("display_name", &Processor::display_name)
|
||||
.addFunction ("active", &Processor::active)
|
||||
.addFunction ("activate", &Processor::activate)
|
||||
|
@ -741,6 +751,9 @@ LuaBindings::common (lua_State* L)
|
|||
.addFunction ("gain_control", (boost::shared_ptr<GainControl>(Amp::*)())&Amp::gain_control)
|
||||
.endClass ()
|
||||
|
||||
.deriveWSPtrClass <UnknownProcessor, Processor> ("UnknownProcessor")
|
||||
.endClass ()
|
||||
|
||||
.deriveWSPtrClass <PluginInsert::PluginControl, AutomationControl> ("PluginControl")
|
||||
.endClass ()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user