'\" t .\" Title: snd_ctl_rename_id .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Control/Mixer API .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_CTL_RENAME_ID" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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_rename_id \- replace the id of a control on the card .SH "SYNOPSIS" .HP \w'int\ snd_ctl_rename_id('u .BI "int snd_ctl_rename_id(struct\ snd_card\ *\ " "card" ", struct\ snd_ctl_elem_id\ *\ " "src_id" ", struct\ snd_ctl_elem_id\ *\ " "dst_id" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 the card instance .RE .PP \fIsrc_id\fR .RS 4 the old id .RE .PP \fIdst_id\fR .RS 4 the new id .RE .SH "DESCRIPTION" .PP Finds the control with the old id from the card, and replaces the id with the new one\&. .SH "RETURN" .PP Zero if successful, or a negative error code on failure\&. .SH "COPYRIGHT" .br