diff options
author | Chris Robinson <[email protected]> | 2012-08-09 05:38:07 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-09 05:38:07 -0700 |
commit | d6fd52a0e544dee1e8ae2a1ec908ec689e9f2ae1 (patch) | |
tree | fad4d5ac9270d20493dcdada98ca34d0b6d7dbae /Alc/ALc.c | |
parent | 0dde7dd88a24a59a484ec36bc26bec19e0ee7d0a (diff) |
Add an option for wide stereo sources
Replaces the old stereodup option
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |