Home
last modified time | relevance | path

Searched refs:pelems (Results 1 – 4 of 4) sorted by relevance

/third_party/alsa-lib/src/control/
Dhcontrol.c334 c = hctl->compare(&el, hctl->pelems[idx]); in _snd_hctl_find_elem()
354 h = realloc(hctl->pelems, sizeof(*h) * hctl->alloc); in snd_hctl_elem_add()
359 hctl->pelems = h; in snd_hctl_elem_add()
363 hctl->pelems[0] = elem; in snd_hctl_elem_add()
368 list_add(&elem->list, &hctl->pelems[idx]->list); in snd_hctl_elem_add()
371 list_add_tail(&elem->list, &hctl->pelems[idx]->list); in snd_hctl_elem_add()
373 memmove(hctl->pelems + idx + 1, in snd_hctl_elem_add()
374 hctl->pelems + idx, in snd_hctl_elem_add()
376 hctl->pelems[idx] = elem; in snd_hctl_elem_add()
384 snd_hctl_elem_t *elem = hctl->pelems[idx]; in snd_hctl_elem_remove()
[all …]
Dcontrol_local.h86 snd_hctl_elem_t **pelems; member
/third_party/alsa-lib/src/mixer/
Dmixer.c338 c = mixer->compare(elem, mixer->pelems[idx]); in _snd_mixer_find_elem()
408 m = realloc(mixer->pelems, sizeof(*m) * mixer->alloc); in snd_mixer_elem_add()
413 mixer->pelems = m; in snd_mixer_elem_add()
417 mixer->pelems[0] = elem; in snd_mixer_elem_add()
422 list_add(&elem->list, &mixer->pelems[idx]->list); in snd_mixer_elem_add()
425 list_add_tail(&elem->list, &mixer->pelems[idx]->list); in snd_mixer_elem_add()
427 memmove(mixer->pelems + idx + 1, in snd_mixer_elem_add()
428 mixer->pelems + idx, in snd_mixer_elem_add()
430 mixer->pelems[idx] = elem; in snd_mixer_elem_add()
464 memmove(mixer->pelems + idx, in snd_mixer_elem_remove()
[all …]
Dmixer_local.h70 snd_mixer_elem_t **pelems; /* array of all elems */ member