Working racket lib ao async backend
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
ao-at-music-id
|
||||
ao-bufsize-async
|
||||
ao-reuse-buf-len-async
|
||||
ao-sample-queue-len-async
|
||||
ao-clear-async
|
||||
ao-pause
|
||||
ao-set-volume!
|
||||
@@ -208,6 +209,11 @@
|
||||
(ffi:ao_reuse_buf_len (ao-handle-async-player handle))
|
||||
)
|
||||
|
||||
(rc:define/contract (ao-sample-queue-len-async handle)
|
||||
(rc:-> ao-handle? integer?)
|
||||
(ffi:ao_sample_queue_len (ao-handle-async-player handle))
|
||||
)
|
||||
|
||||
(rc:define/contract (ao-set-volume! handle percentage)
|
||||
(rc:-> ao-handle? number? void?)
|
||||
(ffi:ao_set_volume_async (ao-handle-async-player handle)
|
||||
|
||||
Reference in New Issue
Block a user