diff options
author | Chris Robinson <[email protected]> | 2016-03-10 14:29:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-03-10 14:29:44 -0800 |
commit | d648486bcd431b34ad68b76db400ff7e963c72e2 (patch) | |
tree | 6b4e2fab0b5c92cbef7800dc0efceb6459c942c4 /Alc/panning.c | |
parent | da5f75615bf4dee38d456949b30b90921ad713c0 (diff) |
Generalize GetChannelIdxByName
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); } |