diff options
author | Robin Gareus <robin@gareus.org> | 2017-02-15 18:12:28 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-15 18:12:28 +0100 |
commit | 1f4d16fe0ff1251c7494cbc830fa71935e20d905 (patch) | |
tree | d144e6c567aff7dd9e6e9ef24506cd3e9eadee4c /libs/ardour/luabindings.cc | |
parent | 41c432ed3b47c8ed34d2a23116ebd52d39cbb374 (diff) |
Add Lua bindings for plugin re-ordering
Diffstat (limited to 'libs/ardour/luabindings.cc')
-rw-r--r-- | libs/ardour/luabindings.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index da3fed761e..6b9675900e 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -950,7 +950,9 @@ LuaBindings::common (lua_State* L) .addFunction ("nth_send", &Route::nth_send) .addFunction ("add_processor_by_index", &Route::add_processor_by_index) .addFunction ("remove_processor", &Route::remove_processor) + .addFunction ("remove_processors", &Route::remove_processors) .addFunction ("replace_processor", &Route::replace_processor) + .addFunction ("reorder_processors", &Route::reorder_processors) .addFunction ("the_instrument", &Route::the_instrument) .addFunction ("n_inputs", &Route::n_inputs) .addFunction ("n_outputs", &Route::n_outputs) @@ -1424,6 +1426,10 @@ LuaBindings::common (lua_State* L) .addVoidPtrConstructor<std::list<boost::shared_ptr <Region> > > () .endClass () + // typedef std::list<boost::shared_ptr<Processor> > ProcessorList; + .beginStdList <boost::shared_ptr<Processor> > ("ProcessorList") + .endClass () + //std::list<boost::shared_ptr<Port> > PortList; .beginConstStdList <boost::shared_ptr<Port> > ("PortList") .endClass () |