Home | History | Annotate | Download | only in tinyalsa

Lines Matching refs:elist

93     struct snd_ctl_elem_list elist;
106 memset(&elist, 0, sizeof(elist));
107 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0)
114 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl));
115 mixer->elem_info = calloc(elist.count, sizeof(struct snd_ctl_elem_info));
122 eid = calloc(elist.count, sizeof(struct snd_ctl_elem_id));
126 mixer->count = elist.count;
128 elist.space = mixer->count;
129 elist.pids = eid;
130 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0)