other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
SND_CTL_NEW1(9) | Sound Devices | SND_CTL_NEW1(9) |
NAME¶
snd_ctl_new1 - create a control instance from the templateSYNOPSIS¶
struct
snd_kcontrol *
snd_ctl_new1(const struct snd_kcontrol_new * ncontrol,
void * private_data);
ARGUMENTS¶
ncontrolthe initialization record
private_data
the private data to set
DESCRIPTION¶
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.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |