aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/wave.c')
-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);