Channel angle is already in radians, not degrees
This commit is contained in:
parent
335232207d
commit
560f34e3df
@ -282,7 +282,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
|
|||||||
/* Get the static HRIR coefficients and delays for this
|
/* Get the static HRIR coefficients and delays for this
|
||||||
* channel. */
|
* channel. */
|
||||||
GetLerpedHrtfCoeffs(Device->Hrtf,
|
GetLerpedHrtfCoeffs(Device->Hrtf,
|
||||||
0.0f, F_PI/180.0f * chans[c].angle,
|
0.0f, chans[c].angle,
|
||||||
DryGain*ListenerGain,
|
DryGain*ListenerGain,
|
||||||
ALSource->Params.HrtfCoeffs[c],
|
ALSource->Params.HrtfCoeffs[c],
|
||||||
ALSource->Params.HrtfDelay[c]);
|
ALSource->Params.HrtfDelay[c]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user