Jump to content
  • Advertisement

Archived

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

DanTheRocker

Playing two sounds at the same time.

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

Im using DirectX 8.0 and want to be able to play more than one sound at the same time. I''ve run into a problem when trying to do this because when i call a function that plays a sound, and call it again, the first sound stops and the second one takes over. How do I overcome this?

Share this post


Link to post
Share on other sites
Advertisement
Set the dwFlags argument of your call to PlaySegment to
DMUS_SEGF_SECONDARY . Does that help? Or are you using Direct Sound?

-Forcas


"Elvis is alive. He is Barney the purple dinosaur. He is the pied piper that leads our children into the wages of sin and eternal damnation."



Share this post


Link to post
Share on other sites
Sweet. You''re the first person I''ve helped on these message boards. It''s hard to help people, because questions usually get answered a few minutes after they''re posted.

-Forcas


"Elvis is alive. He is Barney the purple dinosaur. He is the pied piper that leads our children into the wages of sin and eternal damnation."



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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!