diff options
author | Robin Gareus <robin@gareus.org> | 2016-08-19 21:31:38 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-08-21 00:24:23 +0200 |
commit | 7aa5ada0e07e13387ddac42b22d7da80a1c0b717 (patch) | |
tree | b0f8bc69f01657aae68cf65b3faecc475c093a9e /libs | |
parent | ec74d4b0d0bfa88d1550c8b3ebbeef88499c2a7b (diff) |
Lua bind MonitorProcessor
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/luabindings.cc | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 1b6c760d4d..2e47cb8cd7 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -177,6 +177,7 @@ CLASSKEYS(ARDOUR::SessionConfiguration); CLASSKEYS(PBD::ID); CLASSKEYS(ARDOUR::Location); CLASSKEYS(ARDOUR::PluginInfo); +CLASSKEYS(ARDOUR::MonitorProcessor); CLASSKEYS(PBD::PropertyChange); CLASSKEYS(std::vector<std::string>); CLASSKEYS(std::list<boost::shared_ptr<ARDOUR::Route> >); @@ -824,8 +825,8 @@ LuaBindings::common (lua_State* L) .addCast<IOProcessor> ("to_ioprocessor") .addCast<UnknownProcessor> ("to_unknownprocessor") .addCast<Amp> ("to_amp") -#if 0 // those objects are not yet bound .addCast<MonitorProcessor> ("to_monitorprocessor") +#if 0 // those objects are not yet bound .addCast<CapturingProcessor> ("to_capturingprocessor") .addCast<DelayLine> ("to_delayline") .addCast<PeakMeter> ("to_meter") @@ -933,6 +934,35 @@ LuaBindings::common (lua_State* L) .addFunction ("gain_control", (boost::shared_ptr<GainControl>(Amp::*)())&Amp::gain_control) .endClass () + .deriveWSPtrClass <MonitorProcessor, Processor> ("MonitorProcessor") + .addFunction ("set_cut_all", &MonitorProcessor::set_cut_all) + .addFunction ("set_dim_all", &MonitorProcessor::set_dim_all) + .addFunction ("set_polarity", &MonitorProcessor::set_polarity) + .addFunction ("set_cut", &MonitorProcessor::set_cut) + .addFunction ("set_dim", &MonitorProcessor::set_dim) + .addFunction ("set_solo", &MonitorProcessor::set_solo) + .addFunction ("set_mono", &MonitorProcessor::set_mono) + .addFunction ("dim_level", &MonitorProcessor::dim_level) + .addFunction ("solo_boost_level", &MonitorProcessor::solo_boost_level) + .addFunction ("dimmed", &MonitorProcessor::dimmed) + .addFunction ("soloed", &MonitorProcessor::soloed) + .addFunction ("inverted", &MonitorProcessor::inverted) + .addFunction ("cut", &MonitorProcessor::cut) + .addFunction ("cut_all", &MonitorProcessor::cut_all) + .addFunction ("dim_all", &MonitorProcessor::dim_all) + .addFunction ("mono", &MonitorProcessor::mono) + .addFunction ("monitor_active", &MonitorProcessor::monitor_active) + .addFunction ("channel_cut_control", &MonitorProcessor::channel_cut_control) + .addFunction ("channel_dim_control", &MonitorProcessor::channel_dim_control) + .addFunction ("channel_polarity_control", &MonitorProcessor::channel_polarity_control) + .addFunction ("channel_solo_control", &MonitorProcessor::channel_solo_control) + .addFunction ("dim_control", &MonitorProcessor::dim_control) + .addFunction ("cut_control", &MonitorProcessor::cut_control) + .addFunction ("mono_control", &MonitorProcessor::mono_control) + .addFunction ("dim_level_control", &MonitorProcessor::dim_level_control) + .addFunction ("solo_boost_control", &MonitorProcessor::solo_boost_control) + .endClass () + .deriveWSPtrClass <UnknownProcessor, Processor> ("UnknownProcessor") .endClass () |