Home
last modified time | relevance | path

Searched refs:ctl_id (Results 1 – 6 of 6) sorted by relevance

/third_party/alsa-utils/alsactl/
Dinit_parse.c76 snd_ctl_elem_id_t *ctl_id; member
117 if (space->ctl_id) { in free_space()
118 snd_ctl_elem_id_free(space->ctl_id); in free_space()
119 space->ctl_id = NULL; in free_space()
202 err = snd_ctl_elem_id_malloc(&res->ctl_id); in init_space()
247 snd_ctl_elem_id_set_numid(space->ctl_id, 0); in check_id_changed()
248 elem = snd_hctl_find_elem(space->ctl_handle, space->ctl_id); in check_id_changed()
257 snd_ctl_elem_id_set_numid(space->ctl_id, 0); in check_id_changed()
258 elem = snd_hctl_find_elem(space->ctl_handle, space->ctl_id); in check_id_changed()
396 val = snd_ctl_convert_from_dB(snd_hctl_ctl(space->ctl_handle), space->ctl_id, val, &lval, -1); in set_ctl_value()
[all …]
/third_party/alsa-lib/src/pcm/
Dpcm_softvol.c760 int ctl_card, snd_ctl_elem_id_t *ctl_id, in softvol_load_control() argument
787 svol->elem.id = *ctl_id; in softvol_load_control()
799 snd_ctl_elem_info_set_id(&cinfo, ctl_id); in softvol_load_control()
831 snd_ctl_elem_info_set_id(&cinfo, ctl_id); in softvol_load_control()
917 int ctl_card, snd_ctl_elem_id_t *ctl_id, in snd_pcm_softvol_open() argument
937 err = softvol_load_control(slave, svol, ctl_card, ctl_id, cchannels, in snd_pcm_softvol_open()
986 static int _snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, in _snd_pcm_parse_control_id() argument
997 assert(ctl_id && cardp && cchannels); in _snd_pcm_parse_control_id()
1076 snd_ctl_elem_id_set_interface(ctl_id, iface); in _snd_pcm_parse_control_id()
1077 snd_ctl_elem_id_set_name(ctl_id, name); in _snd_pcm_parse_control_id()
[all …]
Dpcm_misc.c773 int snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp, in snd_pcm_parse_control_id() argument
784 assert(ctl_id && cardp); in snd_pcm_parse_control_id()
878 snd_ctl_elem_id_set_interface(ctl_id, iface); in snd_pcm_parse_control_id()
879 snd_ctl_elem_id_set_name(ctl_id, name); in snd_pcm_parse_control_id()
880 snd_ctl_elem_id_set_index(ctl_id, index); in snd_pcm_parse_control_id()
881 snd_ctl_elem_id_set_device(ctl_id, device); in snd_pcm_parse_control_id()
882 snd_ctl_elem_id_set_subdevice(ctl_id, subdevice); in snd_pcm_parse_control_id()
/third_party/alsa-lib/include/
Dpcm_external.h61 int snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp,
/third_party/rust/crates/nix/src/sys/socket/
Daddr.rs2546 pub ctl_id: u32,
2613 let mut info = ctl_ioc_info { ctl_id: 0, ctl_name };
2617 Ok(SysControlAddr::new(info.ctl_id, unit))
/third_party/python/Modules/
Dsocketmodule.c2295 addr->sc_id = info.ctl_id; in getsockaddrarg()