-
This commit is contained in:
@@ -115,8 +115,15 @@
|
|||||||
(let ((w (ao-shm-stopped shm)))
|
(let ((w (ao-shm-stopped shm)))
|
||||||
(mutex-unlock (ao-shm-mutex shm))
|
(mutex-unlock (ao-shm-mutex shm))
|
||||||
w))))
|
w))))
|
||||||
(while (eq? (stopped) #f))
|
(letrec ((loop (λ ()
|
||||||
(sleep 0.01))
|
(if (eq? (stopped) #t)
|
||||||
|
'stopped
|
||||||
|
(begin
|
||||||
|
(sleep 0.01)
|
||||||
|
(loop))))))
|
||||||
|
(loop)
|
||||||
|
'stopped)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
(define (ao_play_async shm at-second buf-size buf)
|
(define (ao_play_async shm at-second buf-size buf)
|
||||||
|
|||||||
Reference in New Issue
Block a user