aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 48dc3a0f..4914ae7f 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1624,6 +1624,12 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
if(device->Type != Loopback && !device->Hrtf && GetConfigValueBool(NULL, "wide-stereo", AL_FALSE))
device->Flags |= DEVICE_WIDE_STEREO;
+ if(!device->Hrtf && (device->UpdateSize&3))
+ {
+ if((CPUCapFlags&CPU_CAP_SSE))
+ WARN("SSE performance is degraded with a non-multiple of 4 update size (%u)\n", device->UpdateSize);
+ }
+
oldMode = SetMixerFPUMode();
ALCdevice_Lock(device);
context = device->ContextList;