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 master control with the given name string.
21
22       After creating a vmaster element, you can add the slave controls via
23       snd_ctl_add_slave or snd_ctl_add_slave_uncached.
24
25       The optional argument tlv can be used to specify the TLV information
26       for dB scale of the master control. It should be a single element with
27       #SNDRV_CTL_TLVT_DB_SCALE, #SNDRV_CTL_TLV_DB_MINMAX or
28       #SNDRV_CTL_TLVT_DB_MINMAX_MUTE type, and should be the max 0dB.
29

RETURN

31       The created control element, or NULL for errors (ENOMEM).
32
34Kernel Hackers Manual 3.10         June 2019           SND_CTL_MAKE_VIRTUAL(9)
Impressum