diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-09 13:23:30 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-09 15:45:30 +0200 |
commit | ed25eec79bec9113f56914401ff0e42276b72339 (patch) | |
tree | 8193029313d5ca338eab552df77dd2b78dec2471 /libs/ardour/lua_api.cc | |
parent | 2ff63925c218ca270380b4eba0c0e114d74be2f1 (diff) |
another lua convenience API
Diffstat (limited to 'libs/ardour/lua_api.cc')
-rw-r--r-- | libs/ardour/lua_api.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/lua_api.cc b/libs/ardour/lua_api.cc index 8a52a2ccb7..02a4de4658 100644 --- a/libs/ardour/lua_api.cc +++ b/libs/ardour/lua_api.cc @@ -62,6 +62,12 @@ ARDOUR::LuaAPI::datatype_ctor_midi (lua_State *L) } boost::shared_ptr<Processor> +ARDOUR::LuaAPI::nil_processor () +{ + return boost::shared_ptr<Processor> (); +} + +boost::shared_ptr<Processor> ARDOUR::LuaAPI::new_luaproc (Session *s, const string& name) { if (!s) { |