'\" t .\" Title: snd_ctl_add_slave_uncached .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Control/Mixer API .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SND_CTL_ADD_SLAVE_UN" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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_add_slave_uncached \- Add a virtual slave control .SH "SYNOPSIS" .HP \w'int\ snd_ctl_add_slave_uncached('u .BI "int snd_ctl_add_slave_uncached(struct\ snd_kcontrol\ *\ " "master" ", struct\ snd_kcontrol\ *\ " "slave" ");" .SH "ARGUMENTS" .PP \fImaster\fR .RS 4 vmaster element .RE .PP \fIslave\fR .RS 4 slave element to add .RE .SH "DESCRIPTION" .PP Add a virtual slave control to the given master\&. Unlike \fBsnd_ctl_add_slave\fR, the element added via this function is supposed to have volatile values, and get callback is called at each time quried from the master\&. .PP When the control peeks the hardware values directly and the value can be changed by other means than the put callback of the element, this function should be used to keep the value always up\-to\-date\&. .SH "RETURN" .PP Zero if successful or a negative error code\&. .SH "COPYRIGHT" .br