diff options
author | Chris Robinson <[email protected]> | 2014-11-17 21:33:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-11-17 21:33:09 -0800 |
commit | 6e198b34764aefe2130d5f173250067df91806bc (patch) | |
tree | a76fc81155bd81c83327e3bba3e3840d524e626a /Alc | |
parent | 1dcc54c986eff5ac3cbead51cf4b549ef4c6cea8 (diff) |
Align UpdateSize for Neon, too
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |