Sign in to follow this  
Tispe

xaudio2 X3DAudio, time delay between right and left?

Recommended Posts

Tispe    1468

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
turnpast    1011
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

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