aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 54eb5ecf..7b757a87 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1562,6 +1562,10 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
TRACE("BS2B disabled\n");
}
+ device->Flags &= ~DEVICE_WIDE_STEREO;
+ if(device->Type != Loopback && !device->Hrtf && GetConfigValueBool(NULL, "wide-stereo", AL_FALSE))
+ device->Flags |= DEVICE_WIDE_STEREO;
+
oldMode = SetMixerFPUMode();
LockDevice(device);
context = device->ContextList;