Searched refs:jack_control (Results 1 – 2 of 2) sorted by relevance
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-ucm.c | 1703 const char *jack_control; in ucm_get_jack() local 1712 jack_control = pa_proplist_gets(device->proplist, PA_ALSA_PROP_UCM_JACK_CONTROL); in ucm_get_jack() 1713 if (jack_control) { in ucm_get_jack() 1718 err = snd_use_case_parse_ctl_elem_id(ctl, "JackControl", jack_control); in ucm_get_jack() 1721 jack_control = snd_ctl_elem_id_get_name(ctl); in ucm_get_jack() 1724 … pa_log("[%s] Invalid JackControl index value: \"%s\",%d", device_name, jack_control, index); in ucm_get_jack() 1730 if (!pa_endswith(jack_control, " Jack")) { in ucm_get_jack() 1731 pa_log("[%s] Invalid JackControl value: \"%s\"", device_name, jack_control); in ucm_get_jack() 1737 name = pa_xstrndup(jack_control, strlen(jack_control) - 5); in ucm_get_jack() 1751 pa_log("[%s] No mixer device name for JackControl \"%s\"", device_name, jack_control); in ucm_get_jack()
|
/third_party/alsa-lib/src/ucm/ |
D | main.c | 2654 int jack_control; in snd_use_case_parse_ctl_elem_id() local 2656 jack_control = strcmp(ucm_id, "JackControl") == 0; in snd_use_case_parse_ctl_elem_id() 2657 if (!jack_control && in snd_use_case_parse_ctl_elem_id() 2667 if (jack_control) in snd_use_case_parse_ctl_elem_id()
|