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
91 if (mixer->elem_info) in mixer_close()
92 free(mixer->elem_info); in mixer_close()
122 mixer->elem_info = calloc(elist.count, sizeof(struct snd_ctl_elem_info)); in mixer_open()
123 if (!mixer->ctl || !mixer->elem_info) in mixer_open()
144 ctl->info = mixer->elem_info + n; in mixer_open()
234 if (!strcmp(name, (char*) mixer->elem_info[n].id.name)) in mixer_get_ctl_by_name()
/external/adhd/cras/src/server/
Dcras_alsa_jack.c282 snd_ctl_elem_info_t *elem_info; in check_jack_eld() local
283 snd_ctl_elem_info_alloca(&elem_info); in check_jack_eld()
288 if (snd_hctl_elem_info(jack->eld_control, elem_info) != 0) in check_jack_eld()
290 if (snd_ctl_elem_info_get_count(elem_info) == 0) in check_jack_eld()
1221 snd_ctl_elem_info_t *elem_info; in cras_alsa_jack_update_monitor_name() local
1232 snd_ctl_elem_info_alloca(&elem_info); in cras_alsa_jack_update_monitor_name()
1233 if (snd_hctl_elem_info(jack->eld_control, elem_info) < 0) in cras_alsa_jack_update_monitor_name()
1236 count = snd_ctl_elem_info_get_count(elem_info); in cras_alsa_jack_update_monitor_name()