diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-13 20:13:39 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-13 20:13:39 +0200 |
commit | ab6d93bf5909a2c1666286621402e81a19cf444e (patch) | |
tree | 7f84cb80cb4f3708ad27da9b9c93ace0808640eb /libs/ardour/luaproc.cc | |
parent | b4e4bd87330bc9d5d6e11d398cb1f08e70eb022d (diff) |
fix configurable IO MIDI FX w/strict-i/o
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r-- | libs/ardour/luaproc.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index 7521781297..7af6f587a4 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -156,6 +156,7 @@ bool LuaProc::load_script () { assert (!_lua_dsp); // don't allow to re-initialize + LuaPluginInfoPtr lpi; // TODO: refine APIs; function arguments.. // - perform channel-map in ardour (silent/scratch buffers) ? @@ -167,7 +168,7 @@ LuaProc::load_script () try { LuaScriptInfoPtr lsi = LuaScripting::script_info (_script); - LuaPluginInfoPtr lpi (new LuaPluginInfo (lsi)); + lpi = LuaPluginInfoPtr (new LuaPluginInfo (lsi)); assert (lpi); set_info (lpi); _mempool.set_name ("LuaProc: " + lsi->name); @@ -216,6 +217,7 @@ LuaProc::load_script () ; } } + lpi->_is_instrument = _has_midi_input; _ctrl_params.clear (); |