Re: [PATCH 5/6] control: add a function to add an element of bytes type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux