Jump to content
  • Advertisement
Sign in to follow this  
hweemiin

problems with 3d sound using directmusic

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

[sound engine dll] | [platform exe] |----[game1 dll] |----[game2 dll] |----..... Above is the overall design of my current project, the platform can run different game depend on user choice. The sound engine maintain a static IDirectMusicPerformance and IDirectMusicLoader, and provides API to load and play wave file with 3D positioning effect. Even though the platform can play 3d sound nicely, but the wave file loaded and played by game dll do not come out correctly, it seem like the platform detect my speaker setup as 7.1 correctly, but the game dll detect my speaker setup as 2 speaker stereo. Anyone know why is this happening? Following is the program flow: ->platform initialize sound engine, ->platform load some wave files, ->platform load game dll, ->game dll load some wave files, ->platform play 3d sound (correctly), ->game dll play 3d sound (stereo only). I'm using DirectX 9.0c.

Share this post


Link to post
Share on other sites
Advertisement
I've figured out where the problem is. It is because I try to create more 3d buffer than the amount the sound card can support......

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.

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!