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