diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 4268edd4f4..042607f40a 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -202,6 +202,7 @@ CLASSKEYS(ARDOUR::ChanMapping); CLASSKEYS(ARDOUR::DSP::DspShm); CLASSKEYS(ARDOUR::DataType); CLASSKEYS(ARDOUR::FluidSynth); +CLASSKEYS(ARDOUR::InternalSend); CLASSKEYS(ARDOUR::Latent); CLASSKEYS(ARDOUR::Location); CLASSKEYS(ARDOUR::LuaAPI::Vamp); @@ -1085,6 +1086,7 @@ LuaBindings::common (lua_State* L) .addFunction ("nth_plugin", &Route::nth_plugin) .addFunction ("nth_processor", &Route::nth_processor) .addFunction ("nth_send", &Route::nth_send) + .addFunction ("add_foldback_send", &Route::add_foldback_send) .addFunction ("add_processor_by_index", &Route::add_processor_by_index) .addFunction ("remove_processor", &Route::remove_processor) .addFunction ("remove_processors", &Route::remove_processors) @@ -1419,6 +1421,7 @@ LuaBindings::common (lua_State* L) .addCast ("to_peakmeter") .addCast ("to_monitorprocessor") .addCast ("to_send") + .addCast ("to_internalsend") .addCast ("to_polarityprocessor") .addCast ("to_delayline") #if 0 // those objects are not yet bound @@ -1463,11 +1466,21 @@ LuaBindings::common (lua_State* L) .endClass () .deriveWSPtrClass ("Send") + .addCast ("to_internalsend") .addFunction ("get_delay_in", &Send::get_delay_in) .addFunction ("get_delay_out", &Send::get_delay_out) + .addFunction ("gain_control", &Send::gain_control) + .addFunction ("is_foldback", &Send::is_foldback) .endClass () .deriveWSPtrClass ("InternalSend") + .addFunction ("set_name", &InternalSend::set_name) + .addFunction ("display_name", &InternalSend::display_name) + .addFunction ("source_route", &InternalSend::source_route) + .addFunction ("target_route", &InternalSend::target_route) + .addFunction ("allow_feedback", &InternalSend::allow_feedback) + .addFunction ("set_allow_feedback", &InternalSend::set_allow_feedback) + .addFunction ("feeds", &InternalSend::feeds) .endClass () .deriveWSPtrClass ("Return") @@ -2386,6 +2399,7 @@ LuaBindings::common (lua_State* L) .addFunction ("snap_name", &Session::snap_name) .addFunction ("monitor_out", &Session::monitor_out) .addFunction ("master_out", &Session::master_out) + .addFunction ("add_internal_send", (void (Session::*)(boost::shared_ptr, boost::shared_ptr, boost::shared_ptr))&Session::add_internal_send) .addFunction ("add_internal_sends", &Session::add_internal_sends) .addFunction ("tempo_map", (TempoMap& (Session::*)())&Session::tempo_map) .addFunction ("locations", &Session::locations)