1SND_CTL_NEW1(9)                Control/Mixer API               SND_CTL_NEW1(9)
2
3
4

NAME

6       snd_ctl_new1 - create a control instance from the template
7

SYNOPSIS

9       struct snd_kcontrol *
10                                          snd_ctl_new1(const struct snd_kcontrol_new * ncontrol,
11                                          void * private_data);
12

ARGUMENTS

14       ncontrol
15           the initialization record
16
17       private_data
18           the private data to set
19

DESCRIPTION

21       Allocates a new struct snd_kcontrol instance and initialize from the
22       given template. When the access field of ncontrol is 0, it's assumed as
23       READWRITE access. When the count field is 0, it's assumes as one.
24

RETURN

26       The pointer of the newly generated instance, or NULL on failure.
27
29Kernel Hackers Manual 3.10         June 2019                   SND_CTL_NEW1(9)
Impressum