From 9ff0617807c38a591f489b0acbd4f2d507113c50 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 13 Aug 2009 12:35:42 -0700 Subject: Don't clamp the wave writer's update size --- Alc/wave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') diff --git a/Alc/wave.c b/Alc/wave.c index a21bbc15..6074f241 100644 --- a/Alc/wave.c +++ b/Alc/wave.c @@ -252,7 +252,7 @@ static ALCboolean wave_start_context(ALCdevice *device, ALCcontext *Context) data->DataStart = ftell(data->f); - device->UpdateSize = max(device->BufferSize/4, 2048); + device->UpdateSize = device->BufferSize / 4; data->size = device->UpdateSize; data->buffer = malloc(data->size * channels * bits / 8); -- cgit v1.2.3