From 560f34e3df40762ae7e800c6775ebd5fd567a0f7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 12 Mar 2012 18:29:46 -0700 Subject: Channel angle is already in radians, not degrees --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALu.c') diff --git a/Alc/ALu.c b/Alc/ALu.c index 365aa55d..f19a78ef 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -282,7 +282,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) /* Get the static HRIR coefficients and delays for this * channel. */ GetLerpedHrtfCoeffs(Device->Hrtf, - 0.0f, F_PI/180.0f * chans[c].angle, + 0.0f, chans[c].angle, DryGain*ListenerGain, ALSource->Params.HrtfCoeffs[c], ALSource->Params.HrtfDelay[c]); -- cgit v1.2.3