aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-08-28 10:58:30 -0700
committerChris Robinson <[email protected]>2015-08-28 10:58:30 -0700
commitbbc16e2c15b139cf2ef14eff9b3bcdb4933a5b0e (patch)
tree7cd24d9ad9fee9560dd44a5f9475ea7c9b818171 /Alc/ALc.c
parentd17534332f528a97c633d0a955fc50b3eabdfbeb (diff)
Use ACN ordering for ambisonics coefficients arrays
Note that it still uses FuMa scalings internally. Coefficients loaded from config files specify if they're FuMa (in both ordering and scaling) or N3D, and will get reordered or rescaled as needed.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 6482511f..a902910a 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1532,10 +1532,10 @@ void SetDefaultWFXChannelOrder(ALCdevice *device)
device->ChannelName[7] = SideRight;
break;
case DevFmtBFormat3D:
- device->ChannelName[0] = Aux0;
- device->ChannelName[1] = Aux1;
- device->ChannelName[2] = Aux2;
- device->ChannelName[3] = Aux3;
+ device->ChannelName[0] = BFormatW;
+ device->ChannelName[1] = BFormatX;
+ device->ChannelName[2] = BFormatY;
+ device->ChannelName[3] = BFormatZ;
break;
}
}