Updated to new timer API

This commit is contained in:
Jaroslav Kysela 2003-03-04 20:01:06 +00:00
parent 6a949ee804
commit 9c084c4ba6
8 changed files with 234 additions and 18 deletions

View file

@ -52,6 +52,9 @@ int snd_timer_hw_open(snd_timer_t **handle, const char *name, int dev_class, int
typedef struct {
int (*close)(snd_timer_query_t *timer);
int (*next_device)(snd_timer_query_t *timer, snd_timer_id_t *tid);
int (*info)(snd_timer_query_t *timer, snd_timer_ginfo_t *info);
int (*params)(snd_timer_query_t *timer, snd_timer_gparams_t *info);
int (*status)(snd_timer_query_t *timer, snd_timer_gstatus_t *info);
} snd_timer_query_ops_t;
struct _snd_timer_query {