1SND_PCM_ADD_CHMAP_CT(9) PCM API SND_PCM_ADD_CHMAP_CT(9)
2
3
4
6 snd_pcm_add_chmap_ctls - create channel-mapping control elements
7
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
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
35 Create channel-mapping control elements assigned to the given PCM
36 stream(s). Returns zero if succeed, or a negative error value.
37
39Kernel Hackers Manual 2.6. June 2019 SND_PCM_ADD_CHMAP_CT(9)