Log in

View Full Version : what's the relation of DSound 3D audiuo and each channel?


ytczeal
19th June 2008, 07:14
sorry for the bad English, hope it won't puzzle you.

when I try to use DSound 3D buffer to reflect the panning(LeftRight, FrontRear) with 5.1 speaker, I met a problem.

I know the volumes of each channel should be tuned, eg: L->0.1, R->0, Ls->0.4, Rs->0.6, C->0.5, and I tried to use 3D buffer with DS3DMODE_HEADRELATIVE, and trid to change the sound cone and position to reflect the effect, but failed.:mad:

my question is:
1. is there certain relation(eg formula) between each channel's gain and 3D buffer parameters?(I guess so but can google it)
2. default 3D buffer is omnidirectional, so the default orientation is (0, 0, 0)? if orientation is (05, 0,5, 0), and position is (-1, 0, 0), which speaker should be heard?

thanks a lot in advance!