diff options
author | Chris Robinson <[email protected]> | 2017-03-21 16:40:23 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-21 16:40:23 -0700 |
commit | b062d50bf1fcf86814b8ffdba56b8a929dfe350d (patch) | |
tree | ffc804160dcb28db6e639c72ea8f3a5771945df6 /Alc | |
parent | cdfe0d8f5af871258f1f58493e9659148659cacb (diff) |
Fix setting Ambi formats for loopback devices
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |