From 1dcc54c986eff5ac3cbead51cf4b549ef4c6cea8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 17 Nov 2014 21:23:29 -0800 Subject: Don't force UpdateSize to a multiple of 4 after buffer metrics were set --- Alc/backends/pulseaudio.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Alc/backends') 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; -- cgit v1.2.3