24 Apr
2020
24 Apr
'20
3:23 p.m.
maybe one nit-pick is that there is a one-line difference between the _set and _get functions, and it might be simpler to use a common helper with a boolean flag used at the end to do this:
+ ucontrol->value.enumerated.item[0] = pipe->pipe_config_idx;
or that:
+ pipe->pipe_config_idx = ucontrol->value.enumerated.item[0];
Thanks for this hint, adressed in v4 together with comment about access rights.
Mateusz