Home | History | Annotate | Download | only in tinyalsa

Lines Matching full:elist

94     struct snd_ctl_elem_list elist;
107 memset(&elist, 0, sizeof(elist));
108 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0)
115 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl));
116 mixer->elem_info = calloc(elist.count, sizeof(struct snd_ctl_elem_info));
123 eid = calloc(elist.count, sizeof(struct snd_ctl_elem_id));
127 mixer->count = elist.count;
129 elist.space = mixer->count;
130 elist.pids = eid;
131 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0)