aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-09-23 16:02:46 -0700
committerChris Robinson <[email protected]>2015-09-23 16:02:46 -0700
commit64858e3e94eb98179985f602035b42972752082a (patch)
tree43ecc6394fe2b3d5fe36e344cd1431d8b229e7cd /Alc/panning.c
parent4bdd58bc83f583136cde917762ead5df90c01485 (diff)
Fix B-Format HRTF decoding
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 98b44a1b..e6c7bdc0 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -496,7 +496,7 @@ ALvoid aluInitPanning(ALCdevice *device)
for(i = 0;i < 4;++i)
{
- static const enum Channel inputs[4] = { BFormatW, BFormatY, BFormatZ, BFormatX };
+ static const enum Channel inputs[4] = { BFormatW, BFormatX, BFormatY, BFormatZ };
int chan = GetChannelIdxByName(device, inputs[i]);
coeffs_list[i] = device->Hrtf_Params[chan].Coeffs;
delay_list[i] = device->Hrtf_Params[chan].Delay;