From f410dc433c95a4beeb0ee46d8ac28c69843c91e1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 14 Apr 2021 17:53:56 +0200 Subject: [PATCH] Fix Lua `get_processor_param` API --- libs/ardour/lua_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/lua_api.cc b/libs/ardour/lua_api.cc index a724aca926..0bbeaf5b2b 100644 --- a/libs/ardour/lua_api.cc +++ b/libs/ardour/lua_api.cc @@ -244,7 +244,7 @@ ARDOUR::LuaAPI::get_processor_param (boost::shared_ptr proc, uint32_t { ok=false; boost::shared_ptr pi = boost::dynamic_pointer_cast (proc); - if (!pi) { return false; } + if (!pi) { ok = false; return 0;} return get_plugin_insert_param (pi, which, ok); }