-
This commit is contained in:
@@ -136,9 +136,13 @@
|
|||||||
#f)))
|
#f)))
|
||||||
|
|
||||||
(define (flac-stop handle)
|
(define (flac-stop handle)
|
||||||
(set-flac-handle-stop-reading! handle #t)
|
(let ((ct (current-milliseconds)))
|
||||||
(while (flac-handle-reading handle)
|
(set-flac-handle-stop-reading! handle #t)
|
||||||
(sleep 0.01))
|
(while (flac-handle-reading handle)
|
||||||
|
(sleep 0.01))
|
||||||
|
(let ((ct* (current-milliseconds)))
|
||||||
|
(displayln (format "flac-stop took: ~a ms" (- ct* ct))))
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
); end of module
|
); end of module
|
||||||
|
|||||||
Reference in New Issue
Block a user