1SND_CTL_ADD(9) Control/Mixer API SND_CTL_ADD(9)
2
3
4
6 snd_ctl_add - add the control instance to the card
7
9 int snd_ctl_add(struct snd_card * card,
10 struct snd_kcontrol * kcontrol);
11
13 card
14 the card instance
15
16 kcontrol
17 the control instance to add
18
20 Adds the control instance created via snd_ctl_new or snd_ctl_new1 to
21 the given card. Assigns also an unique numid used for fast search.
22
23 Returns zero if successful, or a negative error code on failure.
24
25 It frees automatically the control which cannot be added.
26
28Kernel Hackers Manual 2.6. June 2019 SND_CTL_ADD(9)