mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
added full async interface to timer API
- added snd_async_add_timer_handler and snd_async_handler_get_timer functions - added async command to test/timer.c
This commit is contained in:
parent
a022bc1fbc
commit
8ec3e4ea6c
7 changed files with 99 additions and 3 deletions
|
|
@ -45,6 +45,7 @@ struct _snd_timer {
|
|||
int poll_fd;
|
||||
snd_timer_ops_t *ops;
|
||||
void *private_data;
|
||||
struct list_head async_handlers;
|
||||
};
|
||||
|
||||
int snd_timer_hw_open(snd_timer_t **handle, const char *name, int dev_class, int dev_sclass, int card, int device, int subdevice, int mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue