alsa-lib/include/timer.h

31 lines
1.2 KiB
C
Raw Normal View History

1999-03-08 16:51:36 +00:00
/****************************************************************************
* *
* timer.h *
* Timer interface *
* *
****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
2000-11-20 20:10:46 +00:00
typedef struct _snd_timer snd_timer_t;
int snd_timer_open(snd_timer_t **handle);
int snd_timer_close(snd_timer_t *handle);
2000-09-24 09:57:26 +00:00
int snd_timer_poll_descriptor(snd_timer_t *handle);
int snd_timer_general_info(snd_timer_t *handle, snd_timer_general_info_t * info);
int snd_timer_select(snd_timer_t *handle, snd_timer_select_t *tselect);
int snd_timer_info(snd_timer_t *handle, snd_timer_info_t *timer);
int snd_timer_params(snd_timer_t *handle, snd_timer_params_t *params);
int snd_timer_status(snd_timer_t *handle, snd_timer_status_t *status);
int snd_timer_start(snd_timer_t *handle);
int snd_timer_stop(snd_timer_t *handle);
int snd_timer_continue(snd_timer_t *handle);
ssize_t snd_timer_read(snd_timer_t *handle, void *buffer, size_t size);
1999-03-08 16:51:36 +00:00
#ifdef __cplusplus
}
#endif