'\" t .\" Title: snd_ctl_add_slave_uncached .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Control/Mixer API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_CTL_ADD_SLAVE_UN" "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_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 queried 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