raze-gles/polymer/eduke32/source/jaudiolib/src
helixhorned ebbf4d79ce Clean up VOC in-memory block type parsing.
- 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
2012-02-16 19:24:28 +00:00
..
_multivc.h Clean up VOC in-memory block type parsing. 2012-02-16 19:24:28 +00:00
driver_directsound.c rotatesprite and multivoc have a rape baby 2010-06-22 21:50:01 +00:00
driver_directsound.h fixes... mostly sound fuckery 2009-07-31 11:45:29 +00:00
driver_nosound.c Remove some warnings. 2011-01-16 03:33:48 +00:00
driver_nosound.h fixes... mostly sound fuckery 2009-07-31 11:45:29 +00:00
driver_sdl.c Very few actual changes... mostly formatting fixes from astyle 2010-01-23 22:12:02 +00:00
driver_sdl.h fixes... mostly sound fuckery 2009-07-31 11:45:29 +00:00
drivers.c fixes... mostly sound fuckery 2009-07-31 11:45:29 +00:00
drivers.h fixes... mostly sound fuckery 2009-07-31 11:45:29 +00:00
fx_man.c triv: comment out FX_PlayLoopedAuto debug message to stdout 2011-11-17 21:09:26 +00:00
linklist.h Memory cleanups, use Bm/c/realloc/free everywhere (configured as nedmalloc version in compat.h), add large page support for Vista/7, tweak nedmalloc settings, add support for projecting textures from SE50 spotlights placed in maps via sprite owner member (manipulated through CONs via sprite htpicnum member), fix building Mapster32 with MSVC, increase PR_MAXLIGHTS to 1024 2009-10-07 06:47:35 +00:00
ll_man.h Initial working commit of JonoF's audiolib re-port... I think 2009-07-27 05:47:50 +00:00
mix.c More beauty tinkering: decorate the 'start' pointer of the mixing functions 2011-11-01 22:02:37 +00:00
mixst.c More beauty tinkering: decorate the 'start' pointer of the mixing functions 2011-11-01 22:02:37 +00:00
multivoc.c Clean up VOC in-memory block type parsing. 2012-02-16 19:24:28 +00:00
multivoc.h trivial stylistic changes continued: upcase all macro constants and make 2011-11-01 22:02:14 +00:00
pitch.c Memory cleanups, use Bm/c/realloc/free everywhere (configured as nedmalloc version in compat.h), add large page support for Vista/7, tweak nedmalloc settings, add support for projecting textures from SE50 spotlights placed in maps via sprite owner member (manipulated through CONs via sprite htpicnum member), fix building Mapster32 with MSVC, increase PR_MAXLIGHTS to 1024 2009-10-07 06:47:35 +00:00
pitch.h Initial working commit of JonoF's audiolib re-port... I think 2009-07-27 05:47:50 +00:00
vorbis.c More beauty tinkering: decorate the 'start' pointer of the mixing functions 2011-11-01 22:02:37 +00:00