Initial import
This commit is contained in:
26
ao-play-async/ao_playasync.h
Normal file
26
ao-play-async/ao_playasync.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef AO_PLAYASYNC_H
|
||||
#define AO_PLAYASYNC_H
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#ifdef AOPLAYASYNC_LIBRARY
|
||||
#define AOPLAYASYNC_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define AOPLAYASYNC_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define AOPLAYASYNC_EXPORT extern
|
||||
#endif
|
||||
|
||||
AOPLAYASYNC_EXPORT void *ao_create_async(void *ao_handle, void *ao_play_f);
|
||||
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);
|
||||
AOPLAYASYNC_EXPORT void ao_clear_async(void *handle);
|
||||
|
||||
AOPLAYASYNC_EXPORT double ao_is_at_second_async(void *handle);
|
||||
AOPLAYASYNC_EXPORT double ao_music_duration_async(void *handle);
|
||||
|
||||
AOPLAYASYNC_EXPORT void ao_pause_async(void *ao_handle, int paused);
|
||||
|
||||
AOPLAYASYNC_EXPORT int ao_bufsize_async(void *handle);
|
||||
|
||||
#endif // AO_PLAYASYNC_H
|
||||
Reference in New Issue
Block a user