1. NAME▲
snd_ctl_add - add the control instance to the card
2. SYNOPSIS ▲
int snd_ctl_add(struct snd_card * card , struct snd_kcontrol * kcontrol );
3. ARGUMENTS ▲
card
the card instance
kcontrol
the control instance to add
4. 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.
5. RETURN ▲
Zero if successful, or a negative error code on failure.
6. COPYRIGHT ▲