mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Add external shared object support
- Add external shared object support - Add poll_* internal ops - Allow multiple poll_fds
This commit is contained in:
parent
3c144ca078
commit
36f715c59a
3 changed files with 96 additions and 11 deletions
|
|
@ -47,6 +47,9 @@ typedef struct _snd_ctl_ops {
|
|||
int (*set_power_state)(snd_ctl_t *handle, unsigned int state);
|
||||
int (*get_power_state)(snd_ctl_t *handle, unsigned int *state);
|
||||
int (*read)(snd_ctl_t *handle, snd_ctl_event_t *event);
|
||||
int (*poll_descriptors_count)(snd_ctl_t *handle);
|
||||
int (*poll_descriptors)(snd_ctl_t *handle, struct pollfd *pfds, unsigned int space);
|
||||
int (*poll_revents)(snd_ctl_t *handle, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
||||
} snd_ctl_ops_t;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue