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

NAME

6       snd_ctl_add_slave - Add a virtual slave control
7

SYNOPSIS

9       int snd_ctl_add_slave(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 element created via
21       snd_ctl_create_virtual_master beforehand. Returns zero if successful or
22       a negative error code.
23
24       All slaves must be the same type (returning the same information via
25       info callback). The function doesn´t check it, so it´s your
26       responsibility.
27
28       Also, some additional limitations: at most two channels, logarithmic
29       volume control (dB level) thus no linear volume, master can only
30       attenuate the volume without gain
31
33Kernel Hackers Manual 2.6.         June 2019              SND_CTL_ADD_SLAVE(9)
Impressum