Don't force UpdateSize to a multiple of 4 after buffer metrics were set

This commit is contained in:
Chris Robinson
2014-11-17 21:23:29 -08:00
parent 40a08bed4f
commit 1dcc54c986
-2
View File
@@ -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;