diff options
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 5 |
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; |