.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SND_CTL_RENAME_ID" "" "06 October 2005" "" ""
.SH NAME
snd_ctl_rename_id \- replace the id of a control on the card
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_ctl_rename_id (snd_card_t * \fIcard\fB, snd_ctl_elem_id_t * \fIsrc_id\fB, snd_ctl_elem_id_t * \fIdst_id\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcard\fB\fR
the card instance
.TP
\fB\fIsrc_id\fB\fR
the old id
.TP
\fB\fIdst_id\fB\fR
the new id
.SH "DESCRIPTION"
.PP
Finds the control with the old id from the card, and replaces the
id with the new one.
.PP
Returns zero if successful, or a negative error code on failure.