2001-04-24 13:02:58 +00:00
|
|
|
/**
|
|
|
|
* \defgroup Global Global defines
|
2000-11-25 16:36:18 +00:00
|
|
|
* Global defines
|
2001-04-24 13:02:58 +00:00
|
|
|
* \{
|
2000-11-25 16:36:18 +00:00
|
|
|
*/
|
|
|
|
|
2001-02-05 15:44:42 +00:00
|
|
|
#ifdef SNDRV_LITTLE_ENDIAN
|
|
|
|
#define SND_LITTLE_ENDIAN SNDRV_LITTLE_ENDIAN
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef SNDRV_BIG_ENDIAN
|
|
|
|
#define SND_BIG_ENDIAN SNDRV_BIG_ENDIAN
|
|
|
|
#endif
|
|
|
|
|
2001-04-24 13:02:58 +00:00
|
|
|
/** \} */
|
|
|
|
|
2001-06-20 20:52:12 +00:00
|
|
|
/** Async notification client handler */
|
|
|
|
typedef struct _snd_async_handler snd_async_handler_t;
|
|
|
|
|
|
|
|
/** Async notification callback */
|
|
|
|
typedef void (*snd_async_callback_t)(snd_async_handler_t *handler);
|
|
|
|
|
|
|
|
int snd_async_add_handler(snd_async_handler_t **handler, int fd,
|
|
|
|
snd_async_callback_t callback, void *private_data);
|
|
|
|
int snd_async_del_handler(snd_async_handler_t *handler);
|
|
|
|
int snd_async_handler_get_fd(snd_async_handler_t *handler);
|
|
|
|
void *snd_async_handler_get_callback_private(snd_async_handler_t *handler);
|