mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 01:47:43 +01:00
Allow Lua Processors to declare parameter inline visibility
This commit is contained in:
parent
42602e0329
commit
b45e3ecc0c
1 changed files with 2 additions and 0 deletions
|
|
@ -380,6 +380,7 @@ LuaProc::load_script ()
|
|||
_param_desc[pn].logarithmic = lr["logarithmic"].isBoolean () && (lr["logarithmic"]).cast<bool> ();
|
||||
_param_desc[pn].integer_step = lr["integer"].isBoolean () && (lr["integer"]).cast<bool> ();
|
||||
_param_desc[pn].sr_dependent = lr["ratemult"].isBoolean () && (lr["ratemult"]).cast<bool> ();
|
||||
_param_desc[pn].inline_ctrl = lr["inline"].isBoolean () && (lr["inline"]).cast<bool> ();
|
||||
_param_desc[pn].enumeration = lr["enum"].isBoolean () && (lr["enum"]).cast<bool> ();
|
||||
|
||||
if (lr["bypass"].isBoolean () && (lr["bypass"]).cast<bool> ()) {
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue