15 lines
434 B
C
15 lines
434 B
C
#ifndef AO_PLAYASYNC_H
|
|
#define AO_PLAYASYNC_H
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef int(*ao_play_func_t)(void *, char *, uint32_t);
|
|
|
|
extern void *ao_create_async(void *ao_handle, void *ao_play_f);
|
|
extern void ao_stop_async(void *handle);
|
|
extern void ao_play_async(void *handle, double at_second, int buf_size, void *mem);
|
|
extern double ao_is_at_second_async(void *handle);
|
|
extern int ao_bufsize_async(void *handle);
|
|
|
|
#endif // AO_PLAYASYNC_H
|