aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f830a602..8d241802 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1904,7 +1904,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
if(schans == ALC_BFORMAT3D_SOFT)
{
- device->FmtChans = DevFmtAmbi1 + aorder;
+ device->FmtChans = DevFmtAmbi1 + (aorder-1);
device->AmbiLayout = alayout;
device->AmbiScale = ascale;
}