ALSA project - the C library reference
Functions
timer_query.c File Reference
Include dependency graph for timer_query.c:

Functions

int snd_timer_query_open (snd_timer_query_t **timer, const char *name, int mode)
 Opens a new connection to the timer query interface. More...
 
int snd_timer_query_open_lconf (snd_timer_query_t **timer, const char *name, int mode, snd_config_t *lconf)
 Opens a new connection to the timer query interface using local configuration. More...
 
int snd_timer_query_close (snd_timer_query_t *timer)
 close timer query handle More...
 
int snd_timer_query_next_device (snd_timer_query_t *timer, snd_timer_id_t *tid)
 obtain the next timer identification More...
 
size_t snd_timer_ginfo_sizeof (void)
 get size of the snd_timer_ginfo_t structure in bytes More...
 
int snd_timer_ginfo_malloc (snd_timer_ginfo_t **info)
 allocate a new snd_timer_ginfo_t structure More...
 
void snd_timer_ginfo_free (snd_timer_ginfo_t *info)
 frees the snd_timer_ginfo_t structure More...
 
void snd_timer_ginfo_copy (snd_timer_ginfo_t *dst, const snd_timer_ginfo_t *src)
 copy one snd_timer_info_t structure to another More...
 
int snd_timer_ginfo_set_tid (snd_timer_ginfo_t *obj, snd_timer_id_t *tid)
 set timer identification More...
 
snd_timer_id_tsnd_timer_ginfo_get_tid (snd_timer_ginfo_t *obj)
 get timer identification More...
 
unsigned int snd_timer_ginfo_get_flags (snd_timer_ginfo_t *obj)
 get timer flags More...
 
int snd_timer_ginfo_get_card (snd_timer_ginfo_t *obj)
 get associated card with timer More...
 
char * snd_timer_ginfo_get_id (snd_timer_ginfo_t *obj)
 get timer identification More...
 
char * snd_timer_ginfo_get_name (snd_timer_ginfo_t *obj)
 get timer name More...
 
unsigned long snd_timer_ginfo_get_resolution (snd_timer_ginfo_t *obj)
 get timer resolution in ns More...
 
unsigned long snd_timer_ginfo_get_resolution_min (snd_timer_ginfo_t *obj)
 get timer minimal resolution in ns More...
 
unsigned long snd_timer_ginfo_get_resolution_max (snd_timer_ginfo_t *obj)
 get timer maximal resolution in ns More...
 
unsigned int snd_timer_ginfo_get_clients (snd_timer_ginfo_t *obj)
 get current timer clients More...
 
int snd_timer_query_info (snd_timer_query_t *timer, snd_timer_ginfo_t *info)
 obtain the timer global information More...
 
int snd_timer_query_params (snd_timer_query_t *timer, snd_timer_gparams_t *params)
 set the timer global parameters More...
 
int snd_timer_query_status (snd_timer_query_t *timer, snd_timer_gstatus_t *status)
 get the timer global status More...
 
size_t snd_timer_id_sizeof ()
 get size of the snd_timer_id_t structure in bytes More...
 
int snd_timer_id_malloc (snd_timer_id_t **info)
 allocate a new snd_timer_id_t structure More...
 
void snd_timer_id_free (snd_timer_id_t *info)
 frees the snd_timer_id_t structure More...
 
void snd_timer_id_copy (snd_timer_id_t *dst, const snd_timer_id_t *src)
 copy one snd_timer_id_t structure to another More...
 
void snd_timer_id_set_class (snd_timer_id_t *tid, int dev_class)
 set timer class More...
 
int snd_timer_id_get_class (snd_timer_id_t *tid)
 get timer class More...
 
void snd_timer_id_set_sclass (snd_timer_id_t *tid, int dev_sclass)
 set timer sub-class More...
 
int snd_timer_id_get_sclass (snd_timer_id_t *tid)
 get timer sub-class More...
 
void snd_timer_id_set_card (snd_timer_id_t *tid, int card)
 set timer card More...
 
int snd_timer_id_get_card (snd_timer_id_t *tid)
 get timer card More...
 
void snd_timer_id_set_device (snd_timer_id_t *tid, int device)
 set timer device More...
 
int snd_timer_id_get_device (snd_timer_id_t *tid)
 get timer device More...
 
void snd_timer_id_set_subdevice (snd_timer_id_t *tid, int subdevice)
 set timer subdevice More...
 
int snd_timer_id_get_subdevice (snd_timer_id_t *tid)
 get timer subdevice More...
 

Detailed Description

Author
Jaroslav Kysela perex.nosp@m.@per.nosp@m.ex.cz
Date
2001

Timer Query Interface is designed to obtain identification of timers.