diff options
author | Chris Robinson <[email protected]> | 2009-09-16 22:58:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-16 22:58:54 -0700 |
commit | cbcaa54173bf6b14435adf3daf9feb2fa2e37d04 (patch) | |
tree | a56832a1ee9f96e72ac03a0424893714794cae4a /Alc/wave.c | |
parent | 94e3fca7022c5c7f8147200ffdb3cda5ded62488 (diff) |
Store the number of periods in the device instead of the buffer size
Also keep all the fields in sync
Diffstat (limited to 'Alc/wave.c')
-rw-r--r-- | Alc/wave.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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) |