'\" t .\" Title: snd_ctl_add_vmaster_hook .\" 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_VMASTER_" "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_vmaster_hook \- Add a hook to a vmaster control .SH "SYNOPSIS" .HP \w'int\ snd_ctl_add_vmaster_hook('u .BI "int snd_ctl_add_vmaster_hook(struct\ snd_kcontrol\ *\ " "kcontrol" ", void\ (*" "hook" ")\ (void\ *private_data,\ int), void\ *\ " "private_data" ");" .SH "ARGUMENTS" .PP \fIkcontrol\fR .RS 4 vmaster kctl element .RE .PP \fIhook\fR .RS 4 the hook function .RE .PP \fIprivate_data\fR .RS 4 the private_data pointer to be saved .RE .SH "DESCRIPTION" .PP Adds the given hook to the vmaster control element so that it\*(Aqs called at each time when the value is changed\&. .SH "RETURN" .PP Zero\&. .SH "COPYRIGHT" .br