Jump to content
  • Advertisement


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


when one sound is played the other one stops!!! help

This topic is 5923 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 i use directX audio to play sounds. but when load in one wav file. then play it while another one is playing the one that was playing stops even if it hasnt finished? how do i get multiple sound effects to play at the same time? will i have to use multi threading or is there a way to do it in directx audio? thanks

" type type type...??... delete delete...!...type...??!!??...delete delete..!!!!!!...AHHHHHH" Al **MY HQ**

Share this post

Link to post
Share on other sites
Just create a separate segment for each sound, and use the DMUS_SEGF_SECONDARY flag in PlaySegmentEx. Then play music in another segment without the flag.


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!