Jump to content
  • Advertisement
Sign in to follow this  
Boltimus

Not ALL sounds are created equal??

This topic is 5036 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

Hello everyone, basically I'm using the DirectSound Framework provided with the DirectX9 SDK to play .wav files. The problem I'm having is that when I use the play method (from the CSound interface) the wave file plays fine, but when it tries to play when another program is running (for example I try this test while playing mp3 music files using media jukebox), I can only hear the omp3 files playing and not my program's sound playing. Is this a priority issue? How can I fix this so that my program's sound can be heard no matter what other window is up? Thx for all your help!!! ~Bolt

Share this post


Link to post
Share on other sites
Advertisement
Maybe you are playing on the default audiopath? If you are using DirectSound then you will need to create a separate audiopath for each independent stream you wish to hear (which is limited by the sound card I believe), thou u may be able to support more on software...

I'd dump MFC and use DirectMusic instead, imho.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!