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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user