mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-04-01 07:20:42 +00:00
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) |
||
---|---|---|
.. | ||
efxlib.h | ||
snd_cache.cpp | ||
snd_decoder.cpp | ||
snd_efxfile.cpp | ||
snd_emitter.cpp | ||
snd_local.h | ||
snd_shader.cpp | ||
snd_system.cpp | ||
snd_wavefile.cpp | ||
snd_world.cpp | ||
sound.h | ||
stb_vorbis.h |