other versions
- jessie 3.16.56-1+deb8u1
SND_CTL_ADD(9) | Sound Devices | SND_CTL_ADD(9) |
NAME¶
snd_ctl_add - add the control instance to the cardSYNOPSIS¶
int
snd_ctl_add(struct snd_card * card,
struct snd_kcontrol * kcontrol);
ARGUMENTS¶
cardthe card instance
kcontrol
the control instance to add
DESCRIPTION¶
Adds the control instance created via snd_ctl_new or snd_ctl_new1 to the given card. Assigns also an unique numid used for fast search. It frees automatically the control which cannot be added.RETURN¶
Zero if successful, or a negative error code on failure.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |