Home
last modified time | relevance | path

Searched refs:card_index (Results 1 – 5 of 5) sorted by relevance

/third_party/alsa-utils/alsamixer/
Dcli.c75 int card_index; in parse_options() local
86 card_index = snd_card_get_index(optarg); in parse_options()
87 if (card_index < 0) { in parse_options()
92 sprintf(name_buf, "sysdefault:%d", card_index); in parse_options()
94 sprintf(name_buf, "hw:%d", card_index); in parse_options()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-util.c1754 int card_index; in pa_alsa_open_mixer_by_name() local
1756 if (*s == '\0' && pa_atoi(dev + 3, &card_index) >= 0) { in pa_alsa_open_mixer_by_name()
1758 if (pm->card_index == card_index) { in pa_alsa_open_mixer_by_name()
1782 pm->card_index = -1; in pa_alsa_open_mixer_by_name()
1790 pm->card_index = snd_ctl_card_info_get_card(info); in pa_alsa_open_mixer_by_name()
Dalsa-ucm.h146 int pa_alsa_ucm_query_profiles(pa_alsa_ucm_config *ucm, int card_index);
Dalsa-mixer.h107 int card_index; member
Dalsa-ucm.c758 int pa_alsa_ucm_query_profiles(pa_alsa_ucm_config *ucm, int card_index) { in pa_alsa_ucm_query_profiles() argument
764 card_name = pa_sprintf_malloc("hw:%i", card_index); in pa_alsa_ucm_query_profiles()
769 err = snd_card_get_name(card_index, &card_name); in pa_alsa_ucm_query_profiles()
771 pa_log("Card can't get card_name from card_index %d", card_index); in pa_alsa_ucm_query_profiles()
2344 int pa_alsa_ucm_query_profiles(pa_alsa_ucm_config *ucm, int card_index) { in pa_alsa_ucm_query_profiles() argument