Update of /cvsroot/alsa/alsa-lib/src/control In directory sc8-pr-cvs1:/tmp/cvs-serv29050/src/control
Modified Files: hcontrol.c Log Message: More changes to the ordinary mixer API Index: hcontrol.c =================================================================== RCS file: /cvsroot/alsa/alsa-lib/src/control/hcontrol.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- hcontrol.c 9 Sep 2003 19:24:40 -0000 1.31 +++ hcontrol.c 13 Oct 2003 12:06:46 -0000 1.32 @@ -184,6 +184,20 @@ return snd_ctl_poll_descriptors(hctl->ctl, pfds, space); } +/** + * \brief get returned events from poll descriptors + * \param ctl HCTL handle + * \param pfds array of poll descriptors + * \param nfds count of poll descriptors + * \param revents returned events + * \return zero if success, otherwise a negative error code + */ +int snd_hctl_poll_descriptors_revents(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) +{ + assert(hctl); + return snd_ctl_poll_descriptors_revents(hctl->ctl, pfds, nfds, revents); +} + static int snd_hctl_throw_event(snd_hctl_t *hctl, unsigned int mask, snd_hctl_elem_t *elem) { ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog