Home
last modified time | relevance | path

Searched refs:chmap (Results 1 – 21 of 21) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dpcm_route.c106 snd_pcm_chmap_t *chmap; member
444 free(route->chmap); in snd_pcm_route_close()
738 static int strtochannel(const char *id, snd_pcm_chmap_t *chmap, in strtochannel() argument
749 if (chmap) { in strtochannel()
753 for (i = chmap->channels - 1; i >= 0; i--) { in strtochannel()
754 if ((int) chmap->pos[i] != ch) in strtochannel()
774 snd_pcm_chmap_t *chmap; in determine_chmap() local
777 chmap = malloc(sizeof(snd_pcm_chmap_t) + in determine_chmap()
780 chmap->channels = 0; in determine_chmap()
803 for (k = 0; k < (int) chmap->channels; k++) in determine_chmap()
[all …]
Dpcm_null.c46 snd_pcm_chmap_query_t **chmap; member
302 if (null->chmap) in snd_pcm_null_query_chmaps()
303 return _snd_pcm_copy_chmap_query(null->chmap); in snd_pcm_null_query_chmaps()
311 if (null->chmap) in snd_pcm_null_get_chmap()
312 return _snd_pcm_choose_fixed_chmap(pcm, null->chmap); in snd_pcm_null_get_chmap()
470 snd_pcm_chmap_query_t **chmap = NULL; in _snd_pcm_null_open() local
481 snd_pcm_free_chmaps(chmap); in _snd_pcm_null_open()
482 chmap = _snd_pcm_parse_config_chmaps(n); in _snd_pcm_null_open()
483 if (!chmap) { in _snd_pcm_null_open()
490 snd_pcm_free_chmaps(chmap); in _snd_pcm_null_open()
[all …]
Dpcm_hw.c1803 snd_pcm_chmap_query_t **chmap = NULL; in _snd_pcm_hw_open() local
1886 snd_pcm_free_chmaps(chmap); in _snd_pcm_hw_open()
1887 chmap = _snd_pcm_parse_config_chmaps(n); in _snd_pcm_hw_open()
1888 if (!chmap) { in _snd_pcm_hw_open()
1928 if (chmap) in _snd_pcm_hw_open()
1929 hw->chmap_override = chmap; in _snd_pcm_hw_open()
1934 snd_pcm_free_chmaps(chmap); in _snd_pcm_hw_open()
Dpcm.c8492 snd_pcm_chmap_t *chmap; in _snd_pcm_parse_config_chmaps() local
8516 chmap = snd_pcm_chmap_parse_string(str); in _snd_pcm_parse_config_chmaps()
8517 if (!chmap) in _snd_pcm_parse_config_chmaps()
8519 if (_copy_to_fixed_query_map(maps + nums, chmap)) { in _snd_pcm_parse_config_chmaps()
8520 free(chmap); in _snd_pcm_parse_config_chmaps()
8523 free(chmap); in _snd_pcm_parse_config_chmaps()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsa.c757 alsa_chmap_to_channel_positions (const snd_pcm_chmap_t * chmap, in alsa_chmap_to_channel_positions() argument
763 for (c = 0; c < chmap->channels; c++) { in alsa_chmap_to_channel_positions()
764 if (chmap->pos[c] > SND_CHMAP_LAST) in alsa_chmap_to_channel_positions()
766 pos[c] = gst_pos[chmap->pos[c]]; in alsa_chmap_to_channel_positions()
775 if (all_mono && chmap->channels > 1) { in alsa_chmap_to_channel_positions()
782 for (c = 0; c < chmap->channels; c++) in alsa_chmap_to_channel_positions()
793 snd_pcm_chmap_t *chmap; in alsa_detect_channels_mapping() local
799 chmap = snd_pcm_get_chmap (handle); in alsa_detect_channels_mapping()
800 if (!chmap) { in alsa_detect_channels_mapping()
805 if (chmap->channels != channels) { in alsa_detect_channels_mapping()
[all …]
Dgstalsa.h75 gboolean alsa_chmap_to_channel_positions (const snd_pcm_chmap_t *chmap,
/third_party/alsa-lib/src/conf/cards/
DAudigy2.conf16 chmap [ "UNKNOWN" "FL,FR" ]
69 chmap [ "UNKNOWN" "RL,RR" ]
105 chmap [ "UNKNOWN" "FC,LFE" ]
157 chmap [ "UNKNOWN" "SL,SR" ]
DEMU10K1.conf18 chmap [ "UNKNOWN" "FL,FR" ]
77 chmap [ "UNKNOWN" "RL,RR" ]
116 chmap [ "UNKNOWN" "FC,LFE" ]
DAudigy.conf16 chmap [ "UNKNOWN" "FL,FR" ]
69 chmap [ "UNKNOWN" "RL,RR" ]
105 chmap [ "UNKNOWN" "FC,LFE" ]
DTRID4DWAVENX.conf14 chmap [ "UNKNOWN" "FL,FR" ]
28 chmap [ "UNKNOWN" "RL,RR" ]
DSI7018.conf16 chmap [ "UNKNOWN" "FL,FR" ]
30 chmap [ "UNKNOWN" "RL,RR" ]
/third_party/alsa-lib/
D.gitignore52 test/chmap
59 test/chmap
/third_party/alsa-lib/test/
DMakefile.am6 chmap audio_time user-ctl-element-set pcm-multi-thread program
/third_party/alsa-utils/aplay/
Daplay.c1243 snd_pcm_chmap_t *chmap = channel_map; in setup_chmap() local
1249 if (!chmap) in setup_chmap()
1252 if (chmap->channels != hwparams.channels) { in setup_chmap()
1256 err = snd_pcm_set_chmap(handle, chmap); in setup_chmap()
1266 if (hw_chmap->channels == chmap->channels && in setup_chmap()
1267 !memcmp(hw_chmap, chmap, 4 * (chmap->channels + 1))) { in setup_chmap()
1282 if (chmap->pos[ch] == hw_chmap->pos[ch]) { in setup_chmap()
1288 if (!mapped[i] && chmap->pos[ch] == hw_chmap->pos[i]) { in setup_chmap()
/third_party/alsa-utils/speaker-test/
Dspeaker-test.c984 const char *chmap = NULL; in main() local
1120 chmap = optarg; in main()
1191 err = config_chmap(handle, chmap); in main()
/third_party/alsa-utils/po/
Deu.po420 "-m, --chmap=ch1,ch2,.. Give the channel map to override or follow\n"
472 "-m, --chmap=ch1,ch2,.. Eman kanal-mapa gainidatzi edo jarraitzeko\n"
1619 "-m,--chmap\tSpecify the channel map to override\n"
1641 "-m,--chmap\tZehaztu gainidatziko den kanal-mapa\n"
Dsk.po424 "-m, --chmap=ch1,ch2,.. Give the channel map to override or follow\n"
477 "-m, --chmap=ch1,ch2,.. nastaviť mapu kanálov, ktorá sa má použiť alebo "
1628 "-m,--chmap\tSpecify the channel map to override\n"
1650 "-m,--chmap\tmapa kanálov, ktorá bude použitá\n"
Dfr.po416 "-m, --chmap=ch1,ch2,.. Give the channel map to override or follow\n"
468 "-m, --chmap=ch1,ch2,.. donne la carte du canal à écraser ou suivre\n"
1610 "-m,--chmap\tSpecify the channel map to override\n"
1631 "-m,--chmap\tSpécifier la carte de canal à écraser\n"
Dja.po418 "-m, --chmap=ch1,ch2,.. Give the channel map to override or follow\n"
1577 "-m,--chmap\tSpecify the channel map to override\n"
Dde.po416 "-m, --chmap=ch1,ch2,.. Give the channel map to override or follow\n"
1594 "-m,--chmap\tSpecify the channel map to override\n"
/third_party/gstreamer/gstplugins_base/
DChangeLog71829 The initial support for the new ALSA chmap API.
71830 Just translate the current chmap to GstAudioChannelPosition during the