diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-23 21:55:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-23 21:55:49 +0200 |
commit | 207d9c81db17e2770c872d42c6cd210fa577dc29 (patch) | |
tree | fb3ab8f06f373914f970445620a99ea793e4ad77 /libs/ardour | |
parent | 455d4683f658c8b85e8a6f09f87a2e977d72cb4a (diff) |
some more route related lua bindings
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/luabindings.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 5a3b06d41e..6c687de56c 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -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 () |