mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-07 13:30:07 -05:00
control: add __snd_ctl_add_elem_set() helper
It simplifies the add_elem_set functions and we need it for UCM. It's an internal function. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
83e4c1ab77
commit
03cb988179
2 changed files with 33 additions and 49 deletions
|
|
@ -106,3 +106,7 @@ int snd_ctl_async(snd_ctl_t *ctl, int sig, pid_t pid);
|
|||
int INTERNAL(snd_ctl_elem_info_get_dimensions)(const snd_ctl_elem_info_t *obj);
|
||||
int INTERNAL(snd_ctl_elem_info_get_dimension)(const snd_ctl_elem_info_t *obj, unsigned int idx);
|
||||
#endif /* INTERNAL */
|
||||
|
||||
int __snd_ctl_add_elem_set(snd_ctl_t *ctl, snd_ctl_elem_info_t *info,
|
||||
unsigned int element_count,
|
||||
unsigned int member_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue