PlaySound problems

This is a discussion / support forum for the Hugo programming language by Kent Tessman. Hugo is a powerful programming language for making text games / interactive fiction with multimedia support.

Hugo download links: https://www.generalcoffee.com/hugo
Roody Yogurt's Hugo Blog: https://notdeadhugo.blogspot.com
The Hugor interpreter by RealNC: http://ifwiki.org/index.php/Hugor

Moderators: Ice Cream Jonsey, joltcountry

Guest

PlaySound problems

Post 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?

Merk
Posts: 192
Joined: Mon Nov 22, 2004 3:19 pm
Location: Wichita, KS
Contact:

Post 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.

User avatar
Ice Cream Jonsey
Posts: 30191
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

Yeah, just posting to say that that's a new one for me as well.
the dark and gritty...Ice Cream Jonsey!

Guest

Post by Guest »

What type of sound are you trying to play? That is, what is the file format of the sound/music/whatever?

newbie

sound

Post by newbie »

I'm using .wav files

Guest

Post 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.

Post Reply