[plt-scheme] Problem with play-sound

From: Djos (djos06 at wanadoo.fr)
Date: Tue May 6 13:54:50 EDT 2003

Hi all ,

I made a little game which needs to play sound ,
It works fine like this :

(play-sound (build-path (current-directory) "sounds" "sound1.wav"))

But when I do it Twice , the first sound is stopped before it terminates
when the second sound began to play ...
So I try to make new thread each time sound is played , like this :

(thread (lambda ()  (play-sound (build-path (current-directory) "sounds"

But it did the same thing .

Anyone has any ideas ?

Posted on the users mailing list.