dhewm3/neo/sound
Daniel Gibson 1b4badfd41 Ignore if stb_vorbis decodes one sample less than expected
In idSampleDecoderLocal::DecodeOGG() sometimes (esp. in The Lost Mission
mod) it happens that stb_vorbis_get_samples_float() decodes one sample
less than expected so one is left and when trying to decode that,
stb_vorbis_get_samples_float() returns 0, which we interpreted as an error.
This case is now handled more gracefully: No warning is printed (except
if developer 1) and failed is not set (setting it would prevent the sound
from being played again, I think).
2021-06-20 03:36:39 +02:00
..
efxlib.h Cleanup EFX code 2012-01-10 17:45:37 +01:00
snd_cache.cpp idSoundSample::Load() uses s_decompressionLimit for oggs again 2021-04-27 20:08:59 +02:00
snd_decoder.cpp Ignore if stb_vorbis decodes one sample less than expected 2021-06-20 03:36:39 +02:00
snd_efxfile.cpp Calculate EFX density as in EFX-Util 2021-01-15 17:57:17 +01:00
snd_emitter.cpp Properly pause sounds when entering menu, fixes #330 2021-04-27 20:08:59 +02:00
snd_local.h Add s_alReverbGain CVar to reduce intensity of reverb effects, fix #365 2021-04-27 20:08:59 +02:00
snd_shader.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
snd_system.cpp Add s_alReverbGain CVar to reduce intensity of reverb effects, fix #365 2021-04-27 20:08:59 +02:00
snd_wavefile.cpp Use stb_vorbis instead of libogg and libvorbis(file) 2021-04-27 20:08:59 +02:00
snd_world.cpp Add s_alReverbGain CVar to reduce intensity of reverb effects, fix #365 2021-04-27 20:08:59 +02:00
sound.h Port EAX to EFX 2012-01-08 22:04:56 +01:00
stb_vorbis.h Fix stb_vorbis failing to load .ogg files without comments 2021-04-27 20:08:59 +02:00