aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-17 21:23:29 -0800
committerChris Robinson <[email protected]>2014-11-17 21:23:29 -0800
commit1dcc54c986eff5ac3cbead51cf4b549ef4c6cea8 (patch)
tree9048461a8b5147b5cf813632e57d0e856ad0398b
parent40a08bed4fa38582a48307c9e71b37775178d34b (diff)
Don't force UpdateSize to a multiple of 4 after buffer metrics were set
-rw-r--r--Alc/backends/pulseaudio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index 0d679075..0bb38cd6 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -1058,8 +1058,6 @@ static ALCboolean ALCpulsePlayback_reset(ALCpulsePlayback *self)
ALCpulsePlayback_bufferAttrCallback(self->stream, self);
len = self->attr.minreq / pa_frame_size(&self->spec);
- if((CPUCapFlags&CPU_CAP_SSE))
- len = (len+3)&~3;
device->NumUpdates = (ALuint)((ALdouble)device->NumUpdates/len*device->UpdateSize + 0.5);
device->NumUpdates = clampu(device->NumUpdates, 2, 16);
device->UpdateSize = len;