Make sure libao-1.2.2 is loaded in windows.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
(require ffi/unsafe
|
||||
ffi/unsafe/define
|
||||
"private/utils.rkt"
|
||||
"libao-ffi.rkt"
|
||||
;"libao-ffi.rkt"
|
||||
)
|
||||
|
||||
(provide ao_create_async
|
||||
@@ -48,6 +48,9 @@
|
||||
))
|
||||
|
||||
|
||||
(when (eq? (system-type 'os) 'windows)
|
||||
(void (get-lib '("libao-1.2.2") '(#f))))
|
||||
|
||||
(define lib (get-lib '("ao-play-async" "libao-play-async") '(#f)))
|
||||
;(define lib (ffi-lib "/home/hans/src/racket/racket-sound-lib/lib/linux-x86_64/libao-play-async.so"))
|
||||
(define-ffi-definer define-libao-async lib
|
||||
|
||||
Reference in New Issue
Block a user