Home
last modified time | relevance | path

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

/third_party/alsa-lib/src/pcm/
Dpcm_hooks.c671 char ctl_name[16]; in _snd_pcm_hook_ctl_elems_install() local
687 sprintf(ctl_name, "hw:%d", card); in _snd_pcm_hook_ctl_elems_install()
688 err = snd_ctl_open(&ctl, ctl_name, 0); in _snd_pcm_hook_ctl_elems_install()
690 SNDERR("Cannot open CTL %s", ctl_name); in _snd_pcm_hook_ctl_elems_install()
/third_party/alsa-lib/src/control/
Dcontrol_shm.c533 const char *ctl_name = NULL; in _snd_ctl_shm_open() local
555 err = snd_config_get_string(n, &ctl_name); in _snd_ctl_shm_open()
565 if (!ctl_name) { in _snd_ctl_shm_open()
617 err = snd_ctl_shm_open(handlep, name, sockname, ctl_name, mode); in _snd_ctl_shm_open()
Dnamehint.c452 char ctl_name[16]; in add_card() local
460 sprintf(ctl_name, "hw:%i", card); in add_card()
461 err = snd_ctl_open(&list->ctl, ctl_name, 0); in add_card()
/third_party/alsa-lib/src/ucm/
Dparser.c2115 const char *ctl_name, in get_card_info() argument
2121 err = uc_mgr_open_ctl(mgr, &ctl_list, ctl_name, 0); in get_card_info()
2176 static inline int get_by_card(snd_use_case_mgr_t *mgr, const char *ctl_name) in get_by_card() argument
2178 return get_card_info(mgr, ctl_name, NULL); in get_by_card()
/third_party/python/Modules/
Dsocketmodule.c2272 PyObject *ctl_name; in getsockaddrarg() local
2275 PyUnicode_FSConverter, &ctl_name)) { in getsockaddrarg()
2279 if (PyBytes_GET_SIZE(ctl_name) > (Py_ssize_t)sizeof(info.ctl_name)) { in getsockaddrarg()
2282 Py_DECREF(ctl_name); in getsockaddrarg()
2285 strncpy(info.ctl_name, PyBytes_AS_STRING(ctl_name), in getsockaddrarg()
2286 sizeof(info.ctl_name)); in getsockaddrarg()
2287 Py_DECREF(ctl_name); in getsockaddrarg()