mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +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. |
||
---|---|---|
.. | ||
audio | ||
client | ||
console | ||
gamecode | ||
gib | ||
image | ||
input | ||
models | ||
net | ||
qw | ||
ruamoko | ||
scene | ||
ui | ||
util | ||
video | ||
Makemodule.am |