Lines Matching refs:snd_hctl_t

70 int snd_hctl_open(snd_hctl_t **hctlp, const char *name, int mode)
89 int snd_hctl_open_ctl(snd_hctl_t **hctlp, snd_ctl_t *ctl)
91 snd_hctl_t *hctl;
95 if ((hctl = (snd_hctl_t *)calloc(1, sizeof(snd_hctl_t))) == NULL)
111 int snd_hctl_close(snd_hctl_t *hctl)
130 const char *snd_hctl_name(snd_hctl_t *hctl)
142 int snd_hctl_nonblock(snd_hctl_t *hctl, int nonblock)
157 int snd_hctl_async(snd_hctl_t *hctl, int sig, pid_t pid)
168 int snd_hctl_poll_descriptors_count(snd_hctl_t *hctl)
181 int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space)
195 int snd_hctl_poll_descriptors_revents(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)
201 static int snd_hctl_throw_event(snd_hctl_t *hctl, unsigned int mask,
320 static int _snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id, int *dir)
346 static int snd_hctl_elem_add(snd_hctl_t *hctl, snd_hctl_elem_t *elem)
382 static void snd_hctl_elem_remove(snd_hctl_t *hctl, unsigned int idx)
402 int snd_hctl_free(snd_hctl_t *hctl)
413 static snd_hctl_t *compare_hctl;
419 static void snd_hctl_sort(snd_hctl_t *hctl)
448 int snd_hctl_set_compare(snd_hctl_t *hctl, snd_hctl_compare_t compare)
498 snd_hctl_elem_t *snd_hctl_first_elem(snd_hctl_t *hctl)
511 snd_hctl_elem_t *snd_hctl_last_elem(snd_hctl_t *hctl)
551 snd_hctl_elem_t *snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id)
565 int snd_hctl_load(snd_hctl_t *hctl)
629 void snd_hctl_set_callback(snd_hctl_t *hctl, snd_hctl_callback_t callback)
640 void snd_hctl_set_callback_private(snd_hctl_t *hctl, void *callback_private)
651 void *snd_hctl_get_callback_private(snd_hctl_t *hctl)
662 unsigned int snd_hctl_get_count(snd_hctl_t *hctl)
675 int snd_hctl_wait(snd_hctl_t *hctl, int timeout)
724 snd_ctl_t *snd_hctl_ctl(snd_hctl_t *hctl)
729 static int snd_hctl_handle_event(snd_hctl_t *hctl, snd_ctl_event_t *event)
779 int snd_hctl_handle_events(snd_hctl_t *hctl)
898 snd_hctl_t *snd_hctl_elem_get_hctl(snd_hctl_elem_t *elem)