Windows play-sound: remove extra delay after async

This commit is contained in:
Matthew Flatt 2016-01-05 07:31:01 -07:00
parent 8ae077c22a
commit 0e344def40

View File

@ -69,7 +69,7 @@
(string->number s)))
(unless len (error 'play "mci did not return a numeric length"))
(mci-send "play ~a" id)
(if async? (thread (lambda () (done (+ len 5000)))) (done len)))
(if async? (thread (lambda () (done len))) (done len)))
(lambda ()
(unless async?
(done #f))))