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

NAME

6       snd_ctl_add_vmaster_hook - Add a hook to a vmaster control
7

SYNOPSIS

9       int snd_ctl_add_vmaster_hook(struct snd_kcontrol * kcontrol,
10                                    void (*hook) (void *private_data, int),
11                                    void * private_data);
12

ARGUMENTS

14       kcontrol
15           vmaster kctl element
16
17       hook
18           the hook function
19
20       private_data
21           the private_data pointer to be saved
22

DESCRIPTION

24       Adds the given hook to the vmaster control element so that it's called
25       at each time when the value is changed.
26

RETURN

28       Zero.
29
31Kernel Hackers Manual 3.10         June 2019           SND_CTL_ADD_VMASTER_(9)
Impressum