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, 0 insertions, 2 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index 958144a4..60739738 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -219,8 +219,6 @@ static ALCboolean wave_reset_playback(ALCdevice *device)
data->DataStart = ftell(data->f);
- device->UpdateSize = device->BufferSize / 4;
-
data->size = device->UpdateSize * channels * bits / 8;
data->buffer = malloc(data->size);
if(!data->buffer)