snd_ctl_new1 (9) - Linux Man Pages
snd_ctl_new1: create a control instance from the template
snd_ctl_new1 - create a control instance from the template
struct snd_kcontrol * snd_ctl_new1(const struct snd_kcontrol_new
*ncontrol, void *private_data);
- the initialization record
- the private data to set
Allocates a new struct snd_kcontrol instance and initialize from the given template. When the access field of ncontrol is 0, it's assumed as READWRITE access. When the count field is 0, it's assumes as one.