aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-27 01:18:10 -0800
committerChris Robinson <[email protected]>2018-12-27 01:18:10 -0800
commit7d821551ac32c6775d1f02a4631bd050aabcc254 (patch)
treed3a1cc1d9485627e5ec9a8c3c7e8eb18d8073330 /Alc/alc.cpp
parentd367093c0616e561a14ca1c486aff99cde98f4be (diff)
Recognize ambix as an alias for acn+sn3d
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 294ba394..27475652 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -3806,7 +3806,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName)
device->mAmbiScale = AmbiNorm::FuMa;
}
}
- else if(strcasecmp(fmt, "acn+sn3d") == 0)
+ else if(strcasecmp(fmt, "ambix") == 0 || strcasecmp(fmt, "acn+sn3d") == 0)
{
device->mAmbiLayout = AmbiLayout::ACN;
device->mAmbiScale = AmbiNorm::SN3D;