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

NAME

6       snd_ctl_add_slave_uncached - Add a virtual slave control
7

SYNOPSIS

9       int snd_ctl_add_slave_uncached(struct snd_kcontrol * master,
10                                      struct snd_kcontrol * slave);
11

ARGUMENTS

13       master
14           vmaster element
15
16       slave
17           slave element to add
18

DESCRIPTION

20       Add a virtual slave control to the given master. Unlike
21       snd_ctl_add_slave, the element added via this function is supposed to
22       have volatile values, and get callback is called at each time queried
23       from the master.
24
25       When the control peeks the hardware values directly and the value can
26       be changed by other means than the put callback of the element, this
27       function should be used to keep the value always up-to-date.
28

RETURN

30       Zero if successful or a negative error code.
31
33Kernel Hackers Manual 3.10         June 2019           SND_CTL_ADD_SLAVE_UN(9)
Impressum