Home
last modified time | relevance | path

Searched refs:snd_hctl_t (Results 1 – 16 of 16) sorted by relevance

/third_party/alsa-lib/src/control/
Dhcontrol.c70 int snd_hctl_open(snd_hctl_t **hctlp, const char *name, int mode) in snd_hctl_open()
89 int snd_hctl_open_ctl(snd_hctl_t **hctlp, snd_ctl_t *ctl) in snd_hctl_open_ctl()
91 snd_hctl_t *hctl; in snd_hctl_open_ctl()
95 if ((hctl = (snd_hctl_t *)calloc(1, sizeof(snd_hctl_t))) == NULL) in snd_hctl_open_ctl()
111 int snd_hctl_close(snd_hctl_t *hctl) in snd_hctl_close()
130 const char *snd_hctl_name(snd_hctl_t *hctl) in snd_hctl_name()
142 int snd_hctl_nonblock(snd_hctl_t *hctl, int nonblock) in snd_hctl_nonblock()
157 int snd_hctl_async(snd_hctl_t *hctl, int sig, pid_t pid) in snd_hctl_async()
168 int snd_hctl_poll_descriptors_count(snd_hctl_t *hctl) in snd_hctl_poll_descriptors_count()
181 int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space) in snd_hctl_poll_descriptors()
[all …]
Dcontrol_local.h78 snd_hctl_t *hctl; /* associated handle */
/third_party/alsa-lib/include/
Dcontrol.h699 typedef struct _snd_hctl snd_hctl_t; typedef
718 typedef int (*snd_hctl_callback_t)(snd_hctl_t *hctl,
730 int snd_hctl_open(snd_hctl_t **hctl, const char *name, int mode);
731 int snd_hctl_open_ctl(snd_hctl_t **hctlp, snd_ctl_t *ctl);
732 int snd_hctl_close(snd_hctl_t *hctl);
733 int snd_hctl_nonblock(snd_hctl_t *hctl, int nonblock);
734 static __inline__ int snd_hctl_abort(snd_hctl_t *hctl) { return snd_hctl_nonblock(hctl, 2); } in snd_hctl_abort()
735 int snd_hctl_poll_descriptors_count(snd_hctl_t *hctl);
736 int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space);
737 int snd_hctl_poll_descriptors_revents(snd_hctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsi…
[all …]
Dmixer.h102 int snd_mixer_attach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl);
104 int snd_mixer_detach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl);
105 int snd_mixer_get_hctl(snd_mixer_t *mixer, const char *name, snd_hctl_t **hctl);
Dmixer_abst.h76 snd_hctl_t *hctl;
/third_party/alsa-lib/src/mixer/
Dmixer.c52 snd_hctl_t *hctl;
167 static int hctl_event_handler(snd_hctl_t *hctl, unsigned int mask, in hctl_event_handler()
200 snd_hctl_t *hctl; in snd_mixer_attach()
220 int snd_mixer_attach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl) in snd_mixer_attach_hctl()
274 int snd_mixer_detach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl) in snd_mixer_detach_hctl()
296 int snd_mixer_get_hctl(snd_mixer_t *mixer, const char *name, snd_hctl_t **hctl) in snd_mixer_get_hctl()
Dsimple_abst.c48 snd_hctl_t *hctl;
/third_party/alsa-utils/amixer/
Damixer.c721 snd_hctl_t *handle; in controls()
1206 snd_hctl_t *hctl; in cset()
1576 static int ctl_callback(snd_hctl_t *ctl, unsigned int mask, in ctl_callback()
1586 snd_hctl_t *handle; in events()
/third_party/alsa-lib/modules/mixer/simple/
Dpython.c724 snd_hctl_t *hctl; in pymixer_attach_hctl()
730 hctl = (snd_hctl_t *)get_C_ptr(obj, "get_C_hctl"); in pymixer_attach_hctl()
908 snd_hctl_t *hctl = snd_hctl_elem_get_hctl(helem); in new_helem()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-mixer.h391 int pa_alsa_fdlist_set_handle(pa_alsa_fdlist *fdl, snd_mixer_t *mixer_handle, snd_hctl_t *hctl_hand…
Dalsa-util.c1690 static int prepare_mixer(snd_mixer_t *mixer, const char *dev, snd_hctl_t *hctl) { in prepare_mixer()
1752 snd_hctl_t *hctl; in pa_alsa_open_mixer_by_name()
Dalsa-mixer.c318 snd_hctl_t *hctl;
499 int pa_alsa_fdlist_set_handle(struct pa_alsa_fdlist *fdl, snd_mixer_t *mixer_handle, snd_hctl_t *hc… in pa_alsa_fdlist_set_handle()
/third_party/alsa-utils/alsamixer/
Dmixer_widget.c127 snd_hctl_t *hctl; in check_unplugged()
Dmixer_display.c150 snd_hctl_t *hctl; in display_card_info()
/third_party/alsa-lib/src/alisp/
Dalisp_snd.c526 snd_hctl_t *handle; in FA_hctl_find_elem()
530 handle = (snd_hctl_t *)get_ptr(instance, car(args), item->prefix); in FA_hctl_find_elem()
/third_party/alsa-utils/alsactl/
Dinit_parse.c74 snd_hctl_t *ctl_handle;