1SND_CTL_ENUM_INFO(9) Control/Mixer API SND_CTL_ENUM_INFO(9)
2
3
4
6 snd_ctl_enum_info - fills the info structure for an enumerated control
7
9 int snd_ctl_enum_info(struct snd_ctl_elem_info * info,
10 unsigned int channels, unsigned int items,
11 const char *const names[]);
12
14 info
15 the structure to be filled
16
17 channels
18 the number of the control's channels; often one
19
20 items
21 the number of control values; also the size of names
22
23 names[]
24 an array containing the names of all control values
25
27 Sets all required fields in info to their appropriate values. If the
28 control's accessibility is not the default (readable and writable), the
29 caller has to fill info->access.
30
32 Zero.
33
35Kernel Hackers Manual 3.10 June 2019 SND_CTL_ENUM_INFO(9)