snd_ctl_new19
Create a control instance from the template
Usage
struct snd_kcontrol * snd_ctl_new1(const struct snd_kcontrol_new * ncontrol, void * private_data);
Arguments
ncontrol
the initialization record
private_data
the private data to set
Overview
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.
Return
The pointer of the newly generated instance, or NULL on failure.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.