13
0

Fix Lua get_processor_param API

This commit is contained in:
Robin Gareus 2021-04-14 17:53:56 +02:00
parent 37243ce61b
commit f410dc433c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -244,7 +244,7 @@ ARDOUR::LuaAPI::get_processor_param (boost::shared_ptr<Processor> proc, uint32_t
{
ok=false;
boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert> (proc);
if (!pi) { return false; }
if (!pi) { ok = false; return 0;}
return get_plugin_insert_param (pi, which, ok);
}