Build 10652
GIT-
fix adlib additive mode
SVN handles and Git names are merged into one person.
fix adlib additive mode
re-enable mus_xmp_interpolation cvar
It looks like there were a couple interpolation related fixes in libxmp since the last time we tried enabling this, so maybe it'll work without crackling and crashes this time.
minivorbis.h GCC 12 warning fixes
tsf.h clang warning fixes
This code is really weird. It's more than just the equivalent of offsetof().
fix playback issue with .ogg files containing invalid loop tags
fix winmm spare buffer list corruption when switching MIDI drivers
fix channel bounds check in adlib driver
fix undefined behavior
minor AdLib driver fixes
This fixes a crash when restarting the sound system twice in a row with the OPL3 driver selected but an .ogg (or .flac or any other format) is playing instead, and makes a couple of things FORCE_INLINE in the process.
move libasync task to VoiceNode struct, explicitly wait on task completion before attempting to service a voice with MV_BeginService()
This fixes crashes when attempting to service an .ogg voice immediately after starting playback, before the decoder has actually finished initializing.
switch from stb_vorbis to minivorbis
Fixes minivorbis to compile as C++ and hooks it up to our memory allocators. This also allows the precompiled libogg.a prerequisite for libFLAC.a to be removed.
add minivorbis 4e40a167726effb0ae9d3065452a9ee2bb80a84f
This is the entire official vorbis implementation crammed into a single header. Fixes to work with our cflags in a future commit.
make mus_al_postamp a float and change volume calculation in AdLibDrv_MIDI_Service to FP math
Fixes terminx/eduke32#106, more or less.
this probably fixes XA looping, broken by me in 3cbb6adf
fix warning
calculate RateScale using 64-bit math
fix DemandFeed playback
Broken in 09dc0cc9489d33e86ddd5f1605014b63cb612139.
less nasty looking MV_Voices[] allocation
This removes the +2 bytes at the end of the allocation--I checked out the valgrind_errors.log referenced by the deleted comment and it looks like the issue fixed by 2e2e0e3af3378734c4f0b890c6b4d10253628416. This is the commit to revert if weird audio crashes start happening.
fix buffer overflow crash
revert Vorbis handling to standard memory allocation instead of cache1d
skip voices without rawdataptr set
This shouldn't really ever happen, but I'm trying to figure out an elusive crash.
disable mus_xmp_interpolation cvar and hard-code XMP interpolation to XMP_INTERP_NEAREST
Both linear and spline interpolation seem to be broken with some of the .xm tracks in Ion Fury.
fix crash when a configuration file contains mus_xmp_interpolation but multivoc isn't initialized when the cfg is parsed
work around crash when ov_read fails
Fix -Wheader-guard warning
Fix use-after-frees in Vorbis, FLAC, XA decoding
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.