1SND_CTL_RENAME_ID(9) Control/Mixer API SND_CTL_RENAME_ID(9)
2
3
4
6 snd_ctl_rename_id - replace the id of a control on the card
7
9 int snd_ctl_rename_id(struct snd_card * card,
10 struct snd_ctl_elem_id * src_id,
11 struct snd_ctl_elem_id * dst_id);
12
14 card
15 the card instance
16
17 src_id
18 the old id
19
20 dst_id
21 the new id
22
24 Finds the control with the old id from the card, and replaces the id
25 with the new one.
26
28 Zero if successful, or a negative error code on failure.
29
31Kernel Hackers Manual 3.10 June 2019 SND_CTL_RENAME_ID(9)