Fix setting Ambi formats for loopback devices
This commit is contained in:
parent
cdfe0d8f5a
commit
b062d50bf1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user