Build 8603
SVN-
Add bit depth and channel settings to DemandFeed
Show details
Backported from Rednukem.
SVN handles and Git names are merged into one person.
Add bit depth and channel settings to DemandFeed
Backported from Rednukem.
Fix -Wheader-guard warning
Move MV_Lock() and MV_Unlock back to multivoc.h
Re-add DemandFeed
Backported from PCExhumed.
Add MV_PlayRAW
Backported from NBlood.
Add MV_GetFrequency
Backported from PCExhumed.
Change callbackval from uint32_t to intptr_t
Backported from NBlood.
pull memory for vorbis_data struct from cache1d
This gets rid of one calloc() and free() per vorbis voice playback, and most of the time allows reuse of the block from cache1d across multiple uses of the VoiceNode.
Fix use-after-frees in Vorbis, FLAC, XA decoding
Clean up samples handling
Re-add a fixed version of old code for the SDL driver to initialize SDL as a whole or its audio subsystem if it has not yet been initialized.
Patch from NY00123. DONT_BUILD.
Fix improper matching of loop tags with initial substrings of them, and add proper support for LOOP as a synonym of LOOP_START.
initialization is better than assignment
When handling a LOOP_END tag in FLAC or Ogg, truncate any blocks that read past it so that the specified value is respected precisely, instead of rounding up to the nearest block size.
DONT_BUILD.
malloc + memset to zero --> calloc
DONT_BUILD.
Introduce support for PlayStation CD-XA audio, a simple ADPCM format.
It's functional, but due to the odd 37.8 KHz nature of the format, I will need to add a resampler to the audiolib to prevent the aliasing artifacts that occur at present. I also hear clicks/pops every so often, but I do not know if a resampler would fix these as well or if they are a separate problem. Note that you cannot directly use the four XA files on the Total Meltdown disc because they each contain eight songs. They would need to be split using a utility I wrote that is outside the scope of this SVN.