Lines Matching refs:snd_hctl_t
703 typedef struct _snd_hctl snd_hctl_t;
722 typedef int (*snd_hctl_callback_t)(snd_hctl_t *hctl,
734 int snd_hctl_open(snd_hctl_t **hctl, const char *name, int mode);
735 int snd_hctl_open_ctl(snd_hctl_t **hctlp, snd_ctl_t *ctl);
736 int snd_hctl_close(snd_hctl_t *hctl);
737 int snd_hctl_nonblock(snd_hctl_t *hctl, int nonblock);
738 static __inline__ int snd_hctl_abort(snd_hctl_t *hctl) { return snd_hctl_nonblock(hctl, 2); }
739 int snd_hctl_poll_descriptors_count(snd_hctl_t *hctl);
740 int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space);
741 int snd_hctl_poll_descriptors_revents(snd_hctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
742 unsigned int snd_hctl_get_count(snd_hctl_t *hctl);
743 int snd_hctl_set_compare(snd_hctl_t *hctl, snd_hctl_compare_t hsort);
744 snd_hctl_elem_t *snd_hctl_first_elem(snd_hctl_t *hctl);
745 snd_hctl_elem_t *snd_hctl_last_elem(snd_hctl_t *hctl);
746 snd_hctl_elem_t *snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id);
747 void snd_hctl_set_callback(snd_hctl_t *hctl, snd_hctl_callback_t callback);
748 void snd_hctl_set_callback_private(snd_hctl_t *hctl, void *data);
749 void *snd_hctl_get_callback_private(snd_hctl_t *hctl);
750 int snd_hctl_load(snd_hctl_t *hctl);
751 int snd_hctl_free(snd_hctl_t *hctl);
752 int snd_hctl_handle_events(snd_hctl_t *hctl);
753 const char *snd_hctl_name(snd_hctl_t *hctl);
754 int snd_hctl_wait(snd_hctl_t *hctl, int timeout);
755 snd_ctl_t *snd_hctl_ctl(snd_hctl_t *hctl);
766 snd_hctl_t *snd_hctl_elem_get_hctl(snd_hctl_elem_t *elem);