Files
racket-sound/libao/c/ao-play-async/ao_playasync.h
2026-02-22 23:15:08 +01:00

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