Sound (.wav) in VC++

Started by
2 comments, last by tom76 22 years, 5 months ago
How does sound work in VC++? What I mean is I''m playing with the donuts3D game off the sdk and decided to change the sounds. I replaced the .wav file with another one, and that didn''t work. I then changed the filename completely (say bangbang.wav to blownup.wav) and changed it all in the code itself, no errors etc., but when I play the game THE ORIGINAL SOUND (bangbang.wav) STILL PLAYS!!!!!!!! Even though there isn''t any other file named blownup.wav on my computer!!! Does VC++ store .wav files in hex format and generates them that way? I''ve seen hex relating to sound in the resources folder. HELP!!! "I envy you, who has seen it all" "And I, young sir, envy you, who have yet to see it for the first time..." - Daniel Glenfield 1st October 2001
if (witisism == !witty) return to_hole
Advertisement
Maybe it has something to do with using the resources and ID:s instead of loading the files straight from the drive.
C++, C++, C++
That sounds about right, so how do I change the music in the game???

"I envy you, who has seen it all"
"And I, young sir, envy you, who have yet to see it for the first time..."
- Daniel Glenfield
1st October 2001
if (witisism == !witty) return to_hole
Thanks to Colin Barry and Andrew Russel over on the music board I sorted the problem - I hit REBUILD ALL.


Thanks you guys!!!

"I envy you, who has seen it all"
"And I, young sir, envy you, who have yet to see it for the first time..."
- Daniel Glenfield
1st October 2001
if (witisism == !witty) return to_hole

This topic is closed to new replies.

Advertisement