'\" t .\" Title: snd_ctl_enum_info .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Control/Mixer API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_CTL_ENUM_INFO" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Control/Mixer API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_ctl_enum_info \- fills the info structure for an enumerated control .SH "SYNOPSIS" .HP \w'int\ snd_ctl_enum_info('u .BI "int snd_ctl_enum_info(struct\ snd_ctl_elem_info\ *\ " "info" ", unsigned\ int\ " "channels" ", unsigned\ int\ " "items" ", const\ char\ *const\ " "names[]" ");" .SH "ARGUMENTS" .PP \fIinfo\fR .RS 4 the structure to be filled .RE .PP \fIchannels\fR .RS 4 the number of the control\*(Aqs channels; often one .RE .PP \fIitems\fR .RS 4 the number of control values; also the size of \fInames\fR .RE .PP \fInames[]\fR .RS 4 an array containing the names of all control values .RE .SH "DESCRIPTION" .PP Sets all required fields in \fIinfo\fR to their appropriate values\&. If the control\*(Aqs accessibility is not the default (readable and writable), the caller has to fill \fIinfo\fR\->access\&. .SH "RETURN" .PP Zero\&. .SH "COPYRIGHT" .br