Lines Matching refs:elist
154 struct snd_ctl_elem_list elist;
167 memset(&elist, 0, sizeof(elist));
168 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) {
177 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl));
178 mixer->info = calloc(elist.count, sizeof(struct snd_ctl_elem_info));
182 eid = calloc(elist.count, sizeof(struct snd_ctl_elem_id));
186 mixer->count = elist.count;
188 elist.space = mixer->count;
189 elist.pids = eid;
190 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0)