Home
last modified time | relevance | path

Searched refs:elem_info (Results 1 – 2 of 2) sorted by relevance

/external/tinyalsa/
Dmixer.c64 struct snd_ctl_elem_info *elem_info; member
109 if (grp->elem_info) in mixer_grp_close()
110 free(grp->elem_info); in mixer_grp_close()
153 grp->elem_info = calloc(elist.count, sizeof(struct snd_ctl_elem_info)); in mixer_grp_open()
154 if (!grp->ctl || !grp->elem_info) { in mixer_grp_open()
176 ctl->info = grp->elem_info + n; in mixer_grp_open()
194 free(grp->elem_info); in mixer_grp_open()
399 if (!strcmp(name, (char*) grp->elem_info[n].id.name)) in mixer_get_ctl_by_name()
407 if (!strcmp(name, (char*) grp->elem_info[n].id.name)) in mixer_get_ctl_by_name()
/external/adhd/cras/src/server/
Dcras_alsa_jack.c278 snd_ctl_elem_info_t *elem_info; in check_jack_eld() local
279 snd_ctl_elem_info_alloca(&elem_info); in check_jack_eld()
284 if (snd_hctl_elem_info(jack->eld_control, elem_info) != 0) in check_jack_eld()
286 if (snd_ctl_elem_info_get_count(elem_info) == 0) in check_jack_eld()
1183 snd_ctl_elem_info_t *elem_info; in cras_alsa_jack_update_monitor_name() local
1194 snd_ctl_elem_info_alloca(&elem_info); in cras_alsa_jack_update_monitor_name()
1195 if (snd_hctl_elem_info(jack->eld_control, elem_info) < 0) in cras_alsa_jack_update_monitor_name()
1198 count = snd_ctl_elem_info_get_count(elem_info); in cras_alsa_jack_update_monitor_name()