Sign in to follow this  
Boltimus

Not ALL sounds are created equal??

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this