Jump to content
  • Advertisement


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


DirectX audio question

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

I finally got a wrapper class setup for directx audio. I started to play sounds (loaded wave segments). I can play one just fine. If I attempt to play another the first is interrupted and the second plays. After digging through the sdk help, I found that by setting the dwflags parameter of PlaySegmentEx to DMUS_SEGF_SECONDARY. I could play the second sound. (On top of the first.) So for examples sake. I'll call segments that have the dwflag of PlaySegmentEx set to DMUS_SEGF_SECONDARY secondary segments. Those that don't I'll call primary segments. I then started to play with AudioPaths and setting effects on them. (i.e. echo, chorus) The sound effects do not seem to affect secondary segments. They work great on primary segments. My original thought was that narrations/theme songs play on primary segments, and secondary segments play sound effects. (i.e. gun shot, explosion, etc) My question is, do I have this all wrong? Edit: I'll answer my own question! Yes I do have it all wrong. After thinking about it some more I have the answer. AUDIOPATHS!!!!!! [edited by - chase_encode on May 27, 2003 8:59:53 PM]

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!