This commit is contained in:
2026-02-22 23:15:08 +01:00
parent 2cc96f30ae
commit 24b39bee60
8 changed files with 101 additions and 32 deletions

View File

@@ -1,9 +1,14 @@
#ifndef AO_PLAYASYNC_H
#define AO_PLAYASYNC_H
extern void *ao_create_async(void *ao_handle);
#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