Hi fellow-coders!
I'm using
PlaySound("mysound.wav", NULL, SND_FILENAME | SND_ASYNC);
to play a rather large audiofile. The problem is that when I run my
application straight after a reboot, the soundplaying is delayed. If then
run my app again, the sound plays nice 'n tight. I assume this i bacause the
sound has to be loaded, and a program usually loads faster the second time
you run it.
Is there a way, that I can escape from this sad effect?
Thanks!
- stein
|