dhewm3/neo/sound
Daniel Gibson 1b61053c53 idSoundSample::Load() uses s_decompressionLimit for oggs again
The code to decompress OGG files directly on load if they're shorter
than s_decompressionLimit seconds (usually 6) accidentally got broken
when removing the non-OpenAL soundbackends:
`if ( objectInfo.wFormatTag == WAVE_FORMAT_TAG_OGG )` slipped into the
`if ( objectInfo.wFormatTag == WAVE_FORMAT_TAG_PCM )` block - obviously
both can't be true at the same time so the OGG case was never executed.
Now it's in its own block again. I put it into a {} scope so it doesn't
have to be re-indented (=> more useful with git blame)
2021-04-27 20:08:59 +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 Use stb_vorbis instead of libogg and libvorbis(file) 2021-04-27 20:08:59 +02:00
snd_efxfile.cpp Calculate EFX density as in EFX-Util 2021-01-15 17:57:17 +01:00
snd_emitter.cpp Make deleting listenerSlot in idSoundWorldLocal::Shutdown() work 2021-04-12 19:17:12 +02:00
snd_local.h Use stb_vorbis instead of libogg and libvorbis(file) 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 Update sounds at ~60Hz instead of ~10Hz, fixes #141 2020-07-12 04:43:53 +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 Make deleting listenerSlot in idSoundWorldLocal::Shutdown() work 2021-04-12 19:17:12 +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