'\" t .\" Title: snd_ctl_activate_id .\" 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_ACTIVATE_ID" "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_activate_id \- activate/inactivate the control of the given id .SH "SYNOPSIS" .HP \w'int\ snd_ctl_activate_id('u .BI "int snd_ctl_activate_id(struct\ snd_card\ *\ " "card" ", struct\ snd_ctl_elem_id\ *\ " "id" ", int\ " "active" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 the card instance .RE .PP \fIid\fR .RS 4 the control id to activate/inactivate .RE .PP \fIactive\fR .RS 4 non\-zero to activate .RE .SH "DESCRIPTION" .PP Finds the control instance with the given id, and activate or inactivate the control together with notification, if changed\&. The given ID data is filled with full information\&. .SH "RETURN" .PP 0 if unchanged, 1 if changed, or a negative error code on failure\&. .SH "COPYRIGHT" .br