Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


DirectSound Problem

This topic is 6497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

OK - I am trying to get this sound to play (using the MySoundBuffer->Play(0,0,0) function). But it wont. It was a piece of an MP3 I chopped to pieces and then converted to a WAV, using CoolEdit 2000 (trial version, if it matters). Anyway, I know it's not my code cos i've checked it with other wav files and they work fine (these are FX i downloaded as WAVs - no conversion or hacking apart). Now... CoolEdit has a variety of different wav formats (ACM Waveform, Windows PCM, MicroSoft PCM and a few others) and I havent a clue which one a should choose, and what frequency it should be at. I've read that DirectSound supports both 8 bit and 16 bit wavs, so that shouldn't be a problem. Oh yeah im using MSVC 6.0 and DX7. If someone knows of a better sound utility than CoolEdit (its gonna expire in 20 days or so ) please lemme know. Cheers Edited by - jumble on 10/5/00 3:39:35 PM

Share this post

Link to post
Share on other sites
You can use .raw files, they''re much easier to load in - but you need to know the frequency, number of channels and bit rate. Anyway, if you don''t mind using too much disk space, I''d go for 16 bit 22050 kHZ sounds, probably Stereo. You don''t need 44100 kHZ - that''ll just slow down the program

I use SoundForge XP, but I don''t know if a shareware version exists or not. I don''t have time to explain anything further right now, but you can email me at TaylorS@soft-tech.com.au if you like.


C++ is the language of the not-so-ancients.
Learn to speak it well.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!