[RFC PATCH 1/3] ALSA: control: add kcontrol_type to control
Jaroslav Kysela
perex at perex.cz
Fri Jan 8 12:40:28 CET 2021
Dne 08. 01. 21 v 12:23 Jaska Uimonen napsal(a):
> Current kcontrol structs don't have a member to describe the control
> type. The type is present in the widget which contains the control. As
> there can be many controls in one widget it is inherently presumed that
> the control types are the same.
>
> Lately there has been use cases where different types of controls would
> be needed for single widget. Thus enable this by adding the control type
> to kcontrol and kcontrol_new structs.
It looks like a SoC only extension. Use private_data to carry this
information. It has no value for the toplevel code.
Jaroslav
--
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
More information about the Alsa-devel
mailing list