diff options
author | Chris Robinson <[email protected]> | 2009-08-13 12:35:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-08-13 12:35:42 -0700 |
commit | 9ff0617807c38a591f489b0acbd4f2d507113c50 (patch) | |
tree | 2efe2eb75801ac11e42c26b9de283cf774a4efd8 | |
parent | 243939f94f26b1840255590b2454e931374de73f (diff) |
Don't clamp the wave writer's update size
-rw-r--r-- | Alc/wave.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |