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

NAME

6       snd_ctl_make_virtual_master - Create a virtual master control
7

SYNOPSIS

9       struct snd_kcontrol * snd_ctl_make_virtual_master(char * name,
10                                                         const unsigned int * tlv);
11

ARGUMENTS

13       name
14           name string of the control element to create
15
16       tlv
17           optional TLV int array for dB information
18

DESCRIPTION

20       Creates a virtual matster control with the given name string. Returns
21       the created control element, or NULL for errors (ENOMEM).
22
23       After creating a vmaster element, you can add the slave controls via
24       snd_ctl_add_slave or snd_ctl_add_slave_uncached.
25
26       The optional argument tlv can be used to specify the TLV information
27       for dB scale of the master control. It should be a single element with
28       #SNDRV_CTL_TLVT_DB_SCALE, #SNDRV_CTL_TLV_DB_MINMAX or
29       #SNDRV_CTL_TLVT_DB_MINMAX_MUTE type, and should be the max 0dB.
30
32Kernel Hackers Manual 2.6.         June 2019           SND_CTL_MAKE_VIRTUAL(9)
Impressum