mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
a087d566ee
* removed all cases of getting a sound handle and checking it later. * In particular, refactor the cases where the handle is stored in a static local variable. These are fundamentally unsafe because nothing maintains these local variables. * finished rewriting the PlaySound function. Let's hope this is what was intended, the entire coding here was not particularly good, mixing high and low level sound handling all on the same level. * call the update routine each tic and not merely every 4th or 8th one, this kind of granularity was ok in 1997 but not with a modern sound engine. |
||
---|---|---|
.. | ||
efx.h | ||
i_sound.cpp | ||
i_sound.h | ||
i_soundinternal.h | ||
oalload.h | ||
oalsound.cpp | ||
oalsound.h |