From b45e3ecc0cd4105c18bb49209047fbad5d0677c1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 27 Oct 2024 17:14:22 +0100 Subject: [PATCH] Allow Lua Processors to declare parameter inline visibility --- libs/ardour/luaproc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index 6241d4df8b..9bc69bb4de 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -380,6 +380,7 @@ LuaProc::load_script () _param_desc[pn].logarithmic = lr["logarithmic"].isBoolean () && (lr["logarithmic"]).cast (); _param_desc[pn].integer_step = lr["integer"].isBoolean () && (lr["integer"]).cast (); _param_desc[pn].sr_dependent = lr["ratemult"].isBoolean () && (lr["ratemult"]).cast (); + _param_desc[pn].inline_ctrl = lr["inline"].isBoolean () && (lr["inline"]).cast (); _param_desc[pn].enumeration = lr["enum"].isBoolean () && (lr["enum"]).cast (); if (lr["bypass"].isBoolean () && (lr["bypass"]).cast ()) { @@ -1094,6 +1095,7 @@ LuaProc::get_parameter_descriptor (uint32_t port, ParameterDescriptor& desc) con desc.integer_step = d.integer_step; desc.sr_dependent = d.sr_dependent; desc.enumeration = d.enumeration; + desc.inline_ctrl = d.inline_ctrl; desc.unit = d.unit; desc.label = d.label; desc.scale_points = d.scale_points;