Sign in to follow this  

problems with 3d sound using directmusic

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

This topic is 4485 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.

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