diff --git a/libao/c/ao-play-async/ao_playasync.c b/libao/c/ao-play-async/ao_playasync.c index f706676..54f2815 100644 --- a/libao/c/ao-play-async/ao_playasync.c +++ b/libao/c/ao-play-async/ao_playasync.c @@ -245,8 +245,6 @@ void ao_play_async(void *ao_handle, double at_second, int buf_size, void *mem) MUTEX_UNLOCK(h->mutex); } - - void ao_clear_async(void *ao_handle) { AO_Handle *h = (AO_Handle *) ao_handle; diff --git a/libao/libao.rkt b/libao/libao.rkt index a78e34c..3fe56b1 100644 --- a/libao/libao.rkt +++ b/libao/libao.rkt @@ -89,7 +89,7 @@ (set-ao-handle-byte-format! handle endianness) (set-ao-handle-rate! handle rate) (set-ao-handle-channels! handle channels) - (set-ao-handle-async-player! handle (ao_create_async ao-device)) ; ao_play_ptr)) + (set-ao-handle-async-player! handle (ao_create_async ao-device ao_play_ptr)) (hash-set! devices handle-num ao-device) (fin:register-finalizer handle (lambda (handle)