'\" t .\" Title: snd_jack_add_new_kctl .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Miscellaneous Functions .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_JACK_ADD_NEW_KCT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Miscellaneous Functions" .\" ----------------------------------------------------------------- .\" * 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_jack_add_new_kctl \- Create a new snd_jack_kctl and add it to jack .SH "SYNOPSIS" .HP \w'int\ snd_jack_add_new_kctl('u .BI "int snd_jack_add_new_kctl(struct\ snd_jack\ *\ " "jack" ", const\ char\ *\ " "name" ", int\ " "mask" ");" .SH "ARGUMENTS" .PP \fIjack\fR .RS 4 the jack instance which the kctl will attaching to .RE .PP \fIname\fR .RS 4 the name for the snd_kcontrol object .RE .PP \fImask\fR .RS 4 a bitmask of enum snd_jack_type values that can be detected by this snd_jack_kctl object\&. .RE .SH "DESCRIPTION" .PP Creates a new snd_kcontrol object and adds it to the jack kctl_list\&. .SH "RETURN" .PP Zero if successful, or a negative error code on failure\&. .SH "COPYRIGHT" .br