[alsa-devel] [PATCH 5/6] control: add a function to add an element of bytes type
Clemens Ladisch
clemens at ladisch.de
Tue Feb 23 09:31:42 CET 2016
Takashi Sakamoto wrote:
> ALSA Ctl core allows userspace applications to add elements of bytes type,
> while there's no APIs for this purpose in alsa-lib.
>
> This commit adds the missing function.
> /**
> + * \brief Create and add an user-defined control element of bytes type.
> + * \param[in] ctl CTL handle.
> + * \param[in,out] id ID of the new control element.
> + * \param[in] channels The number of channels which a control element includes.
For this control type, "count" might be a better name.
Or at least say in the description that this is the number of bytes.
Regards,
Clemens
More information about the Alsa-devel
mailing list