aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-17 21:33:09 -0800
committerChris Robinson <[email protected]>2014-11-17 21:33:09 -0800
commit6e198b34764aefe2130d5f173250067df91806bc (patch)
treea76fc81155bd81c83327e3bba3e3840d524e626a /Alc
parent1dcc54c986eff5ac3cbead51cf4b549ef4c6cea8 (diff)
Align UpdateSize for Neon, too
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 2db97f69..13e0363e 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -3331,7 +3331,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName)
ConfigValueUInt(NULL, "period_size", &device->UpdateSize);
device->UpdateSize = clampu(device->UpdateSize, 64, 8192);
- if((CPUCapFlags&CPU_CAP_SSE))
+ if((CPUCapFlags&(CPU_CAP_SSE|CPU_CAP_NEON)) != 0)
device->UpdateSize = (device->UpdateSize+3)&~3;
ConfigValueUInt(NULL, "sources", &device->MaxNoOfSources);