mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-23 23:50:40 +00:00
ebbf4d79ce
- Maintain a position relative to the start of the data. VOC doesn't mandate an EOF marker (blocktype 0). If we go over the end, fake that marker, so as to restart a looping sound or stop a one-shot one. This fixes an uninitialized mem access with the corrupt SNAKRM.VOC. - When encountering the EOF marker, don't read the 3 bytes of block size, since they may not be there. - Read blocksize by ORing and shifting the 3 bytes, not with *(int32_t *)... git-svn-id: https://svn.eduke32.com/eduke32@2346 1a8010ca-5511-0410-912e-c29ae57300e0 |
||
---|---|---|
.. | ||
_multivc.h | ||
driver_directsound.c | ||
driver_directsound.h | ||
driver_nosound.c | ||
driver_nosound.h | ||
driver_sdl.c | ||
driver_sdl.h | ||
drivers.c | ||
drivers.h | ||
fx_man.c | ||
linklist.h | ||
ll_man.h | ||
mix.c | ||
mixst.c | ||
multivoc.c | ||
multivoc.h | ||
pitch.c | ||
pitch.h | ||
vorbis.c |