much work on the player and hunting for a bug, which first seemed to be in ffmpeg-decoder, but eventually was found in a race condition in audio-placed-player.rkt and an allocation problem in libao-async-ffi-racket.rkt

This commit is contained in:
2026-05-15 22:11:25 +02:00
parent 3c18e75cf6
commit c9a91bf2be
11 changed files with 534 additions and 340 deletions
+15
View File
@@ -22,8 +22,23 @@
ao_volume_async
make-BufferInfo_t
ao_version
ao-playback-buf-ms
ao-set-playback-buf-ms!
ao_sample_queue_len
)
(define pb 250)
(define (ao-playback-buf-ms)
pb)
(define (ao-set-playback-buf-ms! ms)
(set! pb ms))
(define (ao_sample_queue_len h)
0)
(define _BufferType_t
(_enum '(ao = 1
flac = 2