Page 1 of 1

PlaySound problems

Posted: Thu Nov 03, 2005 8:04 pm
by Guest
Debugging stepwise revealed that there was a DirectSound error. I am very new to programming with Windows, so I have no idea what that means (other than there is probably a sound driver compatibility problem). Works if I substitute PlayMusic for PlaySound - is this goint to cause any problems in the future?

Posted: Fri Nov 04, 2005 8:26 pm
by Merk
I don't think I've ever used PlaySound -- just Music. Are you using the Windows Hugo engine? If so, you have Windows XP, 2000, NT, 98, what?

It might be as simple as going to http://windowsupdate.microsoft.com/ and making sure to install the latest DirectX update.

Posted: Fri Nov 04, 2005 10:08 pm
by Ice Cream Jonsey
Yeah, just posting to say that that's a new one for me as well.

Posted: Mon Nov 07, 2005 12:25 pm
by Guest
What type of sound are you trying to play? That is, what is the file format of the sound/music/whatever?

sound

Posted: Mon Nov 07, 2005 6:04 pm
by newbie
I'm using .wav files

Posted: Fri Nov 11, 2005 11:08 am
by Guest
What sort of .wav files? (And are you sure they're .wav, not just renamed that way?) RIFF/WAV is just a container format. The actual waveform encoding may vary.