Query: snd_ctl_enum_info
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_CTL_ENUM_INFO(9) Control/Mixer API SND_CTL_ENUM_INFO(9)NAMEsnd_ctl_enum_info - fills the info structure for an enumerated controlSYNOPSISint snd_ctl_enum_info(struct snd_ctl_elem_info * info, unsigned int channels, unsigned int items, const char *const names[]);ARGUMENTSinfo the structure to be filled channels the number of the control's channels; often one items the number of control values; also the size of names names[] an array containing the names of all control valuesDESCRIPTIONSets all required fields in info to their appropriate values. If the control's accessibility is not the default (readable and writable), the caller has to fill info->access.RETURNZero.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SND_CTL_ENUM_INFO(9)