mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
4e550ac9c7
Sounds no longer use the cache, which is good for multi-threaded, but a pain for memory management: the buffers are shared between channels that play back the sounds, but when the sounds were cached, they were automagically (thus problematically) freed when the space was needed. That no longer happens, so they leak. I think the solution is to use reference counting and retain/release in sfx->open() and sfx->close(). |
||
---|---|---|
.. | ||
flac.c | ||
Makemodule.am | ||
midi.c | ||
snd_channels.c | ||
snd_dma.c | ||
snd_mem.c | ||
snd_mix.c | ||
snd_resample.c | ||
snd_sfx.c | ||
vorbis.c | ||
wav.c |