Home
last modified time | relevance | path

Searched refs:channels_map (Results 1 – 2 of 2) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dpcm_share.c1376 unsigned int channels, unsigned int *channels_map, in snd_pcm_share_open() argument
1389 assert(channels > 0 && sname && channels_map); in snd_pcm_share_open()
1392 if (channels_map[k] >= sizeof(slave_map) / sizeof(slave_map[0])) { in snd_pcm_share_open()
1393 SNDERR("Invalid slave channel (%d) in binding", channels_map[k]); in snd_pcm_share_open()
1396 if (slave_map[channels_map[k]]) { in snd_pcm_share_open()
1397 SNDERR("Repeated slave channel (%d) in binding", channels_map[k]); in snd_pcm_share_open()
1400 slave_map[channels_map[k]] = 1; in snd_pcm_share_open()
1401 assert((unsigned)channels_map[k] < schannels); in snd_pcm_share_open()
1414 memcpy(share->slave_channels, channels_map, channels * sizeof(*share->slave_channels)); in snd_pcm_share_open()
1611 unsigned int *channels_map = NULL; in _snd_pcm_share_open() local
[all …]
/third_party/gstreamer/gstplugins_base/gst/typefind/
Dgsttypefindfunctions.c1301 const guint channels_map[] = { 0, 1, 2, 3, 4, 5, 6, 8 }; in aac_type_find() local
1304 channels_map[channel_config], "rate", G_TYPE_INT, rate, NULL); in aac_type_find()