Jump to content
  • Advertisement
Sign in to follow this  
Tispe

xaudio2 X3DAudio, time delay between right and left?

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

Hi

 

When reading the documentation How to: Integrate X3DAudio with XAudio2, it seems to me that only the volumes on each speaker is adjusted to create the illusion of 3D sound. But, should it not also be the case that there is a small time delay between right and left?

 

Is this delay created or are only volumes adjusted?

Share this post


Link to post
Share on other sites
Advertisement
The docs suggest that a set of delays (pDelayTimes) can be calculated by the X3DAudioCalculate function if it is passed the X3DAUDIO_CALCULATE_DELAY flag. As far as I can tell once you have the delays you are on your own though as XAudio2 does not seem to have a built in way of applying the delays to the audio stream. It may be that you will have to implement your own XAPO to actually apply them. If there is some better way to apply a delay and you find it I would love to know about it.

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!