Lines Matching refs:snd_hctl_t
70 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()
195 int snd_hctl_poll_descriptors_revents(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int nfds, uns… in snd_hctl_poll_descriptors_revents()
201 static int snd_hctl_throw_event(snd_hctl_t *hctl, unsigned int mask, in snd_hctl_throw_event()
320 static int _snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id, int *dir) in _snd_hctl_find_elem()
346 static int snd_hctl_elem_add(snd_hctl_t *hctl, snd_hctl_elem_t *elem) in snd_hctl_elem_add()
382 static void snd_hctl_elem_remove(snd_hctl_t *hctl, unsigned int idx) in snd_hctl_elem_remove()
402 int snd_hctl_free(snd_hctl_t *hctl) in snd_hctl_free()
413 static snd_hctl_t *compare_hctl;
419 static void snd_hctl_sort(snd_hctl_t *hctl) in snd_hctl_sort()
448 int snd_hctl_set_compare(snd_hctl_t *hctl, snd_hctl_compare_t compare) in snd_hctl_set_compare()
498 snd_hctl_elem_t *snd_hctl_first_elem(snd_hctl_t *hctl) in snd_hctl_first_elem()
511 snd_hctl_elem_t *snd_hctl_last_elem(snd_hctl_t *hctl) in snd_hctl_last_elem()
551 snd_hctl_elem_t *snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id) in snd_hctl_find_elem()
565 int snd_hctl_load(snd_hctl_t *hctl) in snd_hctl_load()
629 void snd_hctl_set_callback(snd_hctl_t *hctl, snd_hctl_callback_t callback) in snd_hctl_set_callback()
640 void snd_hctl_set_callback_private(snd_hctl_t *hctl, void *callback_private) in snd_hctl_set_callback_private()
651 void *snd_hctl_get_callback_private(snd_hctl_t *hctl) in snd_hctl_get_callback_private()
662 unsigned int snd_hctl_get_count(snd_hctl_t *hctl) in snd_hctl_get_count()
675 int snd_hctl_wait(snd_hctl_t *hctl, int timeout) in snd_hctl_wait()
724 snd_ctl_t *snd_hctl_ctl(snd_hctl_t *hctl) in snd_hctl_ctl()
729 static int snd_hctl_handle_event(snd_hctl_t *hctl, snd_ctl_event_t *event) in snd_hctl_handle_event()
779 int snd_hctl_handle_events(snd_hctl_t *hctl) in snd_hctl_handle_events()
898 snd_hctl_t *snd_hctl_elem_get_hctl(snd_hctl_elem_t *elem) in snd_hctl_elem_get_hctl()