mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Fix Lua get_processor_param API
This commit is contained in:
parent
37243ce61b
commit
f410dc433c
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ ARDOUR::LuaAPI::get_processor_param (boost::shared_ptr<Processor> proc, uint32_t
|
||||||
{
|
{
|
||||||
ok=false;
|
ok=false;
|
||||||
boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert> (proc);
|
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);
|
return get_plugin_insert_param (pi, which, ok);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue