---
name: "snd_ctl_rename_id"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_ctl_rename_id"
---

# snd\_ctl\_rename\_id(9)

replace the id of a control on the card

## NAME

snd\_ctl\_rename\_id - replace the id of a control on the card

## SYNOPSIS

**int snd\_ctl\_rename\_id(struct snd\_card \*** *card***, struct snd\_ctl\_elem\_id \*** *src\_id***, struct snd\_ctl\_elem\_id \*** *dst\_id***);**

## ARGUMENTS

*card*

the card instance

*src\_id*

the old id

*dst\_id*

the new id

## DESCRIPTION

Finds the control with the old id from the card, and replaces the id with the new one.

## RETURN

Zero if successful, or a negative error code on failure.

## COPYRIGHT
