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 It frees automatically the control which cannot be added.
24
26 Zero if successful, or a negative error code on failure.
27
29Kernel Hackers Manual 3.10 June 2019 SND_CTL_ADD(9)