This commit is contained in:
2026-02-24 14:48:19 +01:00
parent 9fde7b4f76
commit 45544f4645

View File

@@ -115,8 +115,15 @@
(let ((w (ao-shm-stopped shm)))
(mutex-unlock (ao-shm-mutex shm))
w))))
(while (eq? (stopped) #f))
(sleep 0.01))
(letrec ((loop (λ ()
(if (eq? (stopped) #t)
'stopped
(begin
(sleep 0.01)
(loop))))))
(loop)
'stopped)
)
)
(define (ao_play_async shm at-second buf-size buf)