music id added
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
(define _BufferType_t
|
||||
(_enum '(ao = 1
|
||||
flac = 2
|
||||
mpg123 = 3
|
||||
ao_ogg = 4
|
||||
mp3 = 3
|
||||
ogg = 4
|
||||
)))
|
||||
|
||||
;#define AO_FMT_LITTLE 1
|
||||
@@ -63,12 +63,15 @@
|
||||
;extern void ao_stop_async(void *handle);
|
||||
(define-libao-async ao_stop_async(_fun _libao-async-handle-pointer -> _void))
|
||||
|
||||
;extern void ao_play_async(void *handle, double at_second, double music_duration, int buf_size, void *mem, BufferInfo_t info);
|
||||
(define-libao-async ao_play_async(_fun _libao-async-handle-pointer _double _double _uint32 _pointer _BufferInfo_t -> _void))
|
||||
;extern void ao_play_async(void *handle, int music_id, double at_second, double music_duration, int buf_size, void *mem, BufferInfo_t info);
|
||||
(define-libao-async ao_play_async(_fun _libao-async-handle-pointer _integer _double _double _uint32 _pointer _BufferInfo_t -> _void))
|
||||
|
||||
;extern double ao_is_at_second_async(void *handle);
|
||||
(define-libao-async ao_is_at_second_async(_fun _libao-async-handle-pointer -> _double))
|
||||
|
||||
;extern int ao_is_at_music_id_async(void *handle);
|
||||
(define-libao-async ao_is_at_music_id_async (_fun _libao-async-handle-pointer -> _integer))
|
||||
|
||||
;extern double ao_music_duration_async(void *handle);
|
||||
(define-libao-async ao_music_duration_async(_fun _libao-async-handle-pointer -> _double))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user