moved ao library access to ao-play-async, because it only provides overhead and no benefits. All playing will be done via ao-play-async

This commit is contained in:
2026-04-15 09:39:59 +02:00
parent 373da4aa18
commit 298cde0779
3 changed files with 107 additions and 76 deletions

View File

@@ -29,7 +29,7 @@ typedef struct {
} BufferInfo_t;
AOPLAYASYNC_EXPORT int ao_async_version(void);
AOPLAYASYNC_EXPORT void *ao_create_async(void *ao_handle, void *ao_play_f);
AOPLAYASYNC_EXPORT void *ao_create_async(int bits, int rate, int channels, int byte_format);
AOPLAYASYNC_EXPORT void ao_stop_async(void *handle);
AOPLAYASYNC_EXPORT void ao_play_async(void *handle, double at_second, double music_duration, int buf_size, void *mem, BufferInfo_t info);
AOPLAYASYNC_EXPORT void ao_clear_async(void *handle);