diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-23 19:37:45 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-23 21:33:29 +0200 |
commit | ad9551e54828f8250dc16cbe0811136aeae1df2a (patch) | |
tree | 04695fb5115ff9e4bd2dd3cc4d1ba43f7abfe2ef /libs/ardour/luabindings.cc | |
parent | 6f0dec2bd8ebf9725dbcd6f2e4de3a5459cde1b1 (diff) |
Update "separate_by_channel" API & add Lua bindings
This breaks compilation (GUI)
Diffstat (limited to 'libs/ardour/luabindings.cc')
-rw-r--r-- | libs/ardour/luabindings.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 01aca89015..4575e9fbec 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -1210,6 +1210,7 @@ LuaBindings::common (lua_State* L) .addFunction ("scale_amplitude", &AudioRegion::scale_amplitude) .addFunction ("maximum_amplitude", &AudioRegion::maximum_amplitude) .addFunction ("rms", &AudioRegion::rms) + .addRefFunction ("separate_by_channel", &AudioRegion::separate_by_channel) .endClass () .deriveWSPtrClass <Source, SessionObject> ("Source") @@ -1538,6 +1539,10 @@ LuaBindings::common (lua_State* L) .beginConstStdList <boost::weak_ptr<AudioSource> > ("WeakAudioSourceList") .endClass () + // typedef std::vector<boost::shared_ptr<Region> > RegionVector + .beginStdVector <boost::shared_ptr<Region> > ("RegionVector") + .endClass () + // typedef std::list<boost::shared_ptr<Region> > RegionList .beginConstStdList <boost::shared_ptr<Region> > ("RegionList") .endClass () |