aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-07 16:11:47 -0800
committerChris Robinson <[email protected]>2014-11-07 16:11:47 -0800
commitb34a374fa7801b64fddcfd1fa57188fb5f5303a8 (patch)
tree7039088caf77ae5183570256f94872dd3d836408
parent35eacf058ec2be250e90aeafd145e5e159d0fd8f (diff)
Only enable the BS2B filter with stereo output
-rw-r--r--Alc/ALc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index d514148d..5cbd9ded 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1969,7 +1969,8 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
}
TRACE("HRTF %s\n", device->Hrtf?"enabled":"disabled");
- if(!device->Hrtf && device->Bs2bLevel > 0 && device->Bs2bLevel <= 6)
+ if(!device->Hrtf && device->Bs2bLevel > 0 && device->Bs2bLevel <= 6 &&
+ device->FmtChans == DevFmtStereo)
{
if(!device->Bs2b)
{