mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
5fd9098e05
This is part of a process to shrink channel_t so it doesn't waste locked memory when it gets moved there. Eventually, only the fields the mixer needs will be in channel_t itself: those needed for spacialization will be moved into a separate array. In the process, I found that channels leak across level changes, but this appears to be due to the cached sounds being removed during loading and the mixer never marking them as done (it sees the null sfx pointer and assumes the channel was never in use). Having the mixer mark the channel as done seems to fix the leak, but cause a free channel list overflow. Rather than fight with that, I'll leave the leak for now and fix it at its root cause: the management of the sound samples themselves. |
||
---|---|---|
.. | ||
renderer | ||
targets | ||
test | ||
cd.c | ||
cd_file.c | ||
cd_linux.c | ||
cd_sdl.c | ||
cd_sgi.c | ||
cd_win.c | ||
cd_xmms.c | ||
Makemodule.am | ||
snd.c | ||
snd_progs.c |