aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-08-13 12:35:42 -0700
committerChris Robinson <[email protected]>2009-08-13 12:35:42 -0700
commit9ff0617807c38a591f489b0acbd4f2d507113c50 (patch)
tree2efe2eb75801ac11e42c26b9de283cf774a4efd8
parent243939f94f26b1840255590b2454e931374de73f (diff)
Don't clamp the wave writer's update size
-rw-r--r--Alc/wave.c2
1 files changed, 1 insertions, 1 deletions
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);