1SND_PCM_ADD_CHMAP_CT(9)             PCM API            SND_PCM_ADD_CHMAP_CT(9)
2
3
4

NAME

6       snd_pcm_add_chmap_ctls - create channel-mapping control elements
7

SYNOPSIS

9       int snd_pcm_add_chmap_ctls(struct snd_pcm * pcm, int stream,
10                                  const struct snd_pcm_chmap_elem * chmap,
11                                  int max_channels,
12                                  unsigned long private_value,
13                                  struct snd_pcm_chmap ** info_ret);
14

ARGUMENTS

16       pcm
17           the assigned PCM instance
18
19       stream
20           stream direction
21
22       chmap
23           channel map elements (for query)
24
25       max_channels
26           the max number of channels for the stream
27
28       private_value
29           the value passed to each kcontrol's private_value field
30
31       info_ret
32           store struct snd_pcm_chmap instance if non-NULL
33

DESCRIPTION

35       Create channel-mapping control elements assigned to the given PCM
36       stream(s).
37

RETURN

39       Zero if successful, or a negative error value.
40
42Kernel Hackers Manual 3.10         June 2019           SND_PCM_ADD_CHMAP_CT(9)
Impressum