This commit is contained in:
2025-08-10 13:17:25 +02:00
parent 026b27fec0
commit ac7b46a0f7
4 changed files with 19 additions and 2 deletions

View File

@@ -1,2 +1,7 @@
# racket-libao # racket-sound
Racket libao FFI binding
Sound library for racket that will be able to play sound, read flac/mp3/etc, handle idv* tags.
Using ffi bindings to C/C++ libraries.
Target platform will be Linux.

0
libao/libao-ffi.rkt Normal file
View File

0
libao/libao.rkt Normal file
View File

12
main.rkt Normal file
View File

@@ -0,0 +1,12 @@
#lang racket/base
(require ffi/unsafe
ffi/unsafe/define
)
(define-ffi-definer define-libao (ffi-lib "libao"))
(define _libao-pointer (_cpointer 'ao_device))
(define _