aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-02-10 06:46:02 -0800
committerChris Robinson <[email protected]>2015-02-10 06:46:02 -0800
commitb9e81794e40a3ddb25c56ebd20e3cb1ad18f3849 (patch)
treee2a2afb7d6f1728a467f2be18331e051a2f8c0f3 /Alc/panning.c
parentcf5856ed481009621882078727212e5da65e60ee (diff)
Pass the (FuMa) channel number to GetBFormatHrtfCoeffs
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index b7b8a0c7..9b1721cf 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -366,9 +366,8 @@ ALvoid aluInitPanning(ALCdevice *device)
SetChannelMap(device, chanmap, count);
for(i = 0;i < count;i++)
{
- GetBFormatHrtfCoeffs(device->Hrtf, chanmap[i].Config.FOACoeff,
- device->Hrtf_Params[i].Coeffs, device->Hrtf_Params[i].Delay
- );
+ GetBFormatHrtfCoeffs(device->Hrtf, i, device->Hrtf_Params[i].Coeffs,
+ device->Hrtf_Params[i].Delay);
}
return;