Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

It's time for 3D sound...

Sign in to follow this  


This weekend I enabled 3D sound in Epiphany. I followed three good articles on DirectSound implementation using Managed DirectX 1.1...


After getting everything working on my laptop I decided to test it against my wife's desktop. This is where I ran into problems. Although sound played fine on my laptop - sound on my wife's desktop either was not played or was not played in 3D. Very odd.

After searching MSDN and these forums and trying various things I came across a solution. When creating the SecondaryBuffer for the sound if I explicitly set the "LocateInSoftware" flag to "true" 3D sound worked flawlessly!

According to an MSDN article http://msdn2.microsoft.com/en-us/library/bb280909.aspx, this forces sound mixing to be performed by software and not the sound card hardware.

So, apparently not all sound cards are created equal...

Until next time....

Sign in to follow this  


Recommended Comments

There are no comments to display.

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
  • 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!