Add poll_descriptors and poll_descriptors_count callbacks

Added poll_descriptors and poll_descriptors_count callbacks for multiple
poll_fd's.
This commit is contained in:
Takashi Iwai 2005-05-18 10:45:06 +00:00
parent cf4f4bc9c4
commit 842b573424
19 changed files with 74 additions and 1 deletions

View file

@ -132,6 +132,8 @@ typedef struct {
int (*close)(snd_pcm_t *pcm);
int (*nonblock)(snd_pcm_t *pcm, int nonblock);
int (*async)(snd_pcm_t *pcm, int sig, pid_t pid);
int (*poll_descriptors_count)(snd_pcm_t *pcm);
int (*poll_descriptors)(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space);
int (*poll_revents)(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
int (*info)(snd_pcm_t *pcm, snd_pcm_info_t *info);
int (*hw_refine)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);