diff options
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index beb928d9..1765d1c8 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -534,7 +534,7 @@ ALvoid aluInitPanning(ALCdevice *device) for(i = 0;i < device->Dry.NumChannels;i++) { - int chan = GetChannelIdxByName(device, CubeInfo[i].Channel); + int chan = GetChannelIdxByName(device->Dry, CubeInfo[i].Channel); GetLerpedHrtfCoeffs(device->Hrtf, CubeInfo[i].Elevation, CubeInfo[i].Angle, 1.0f, 1.0f, device->Hrtf_Params[chan].Coeffs, device->Hrtf_Params[chan].Delay); } |