mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 08:27:39 +00:00
91140acfee
This improves the locality of reference when mixing and removes the proxy sfx for streamed sounds. The buffer for streamed sounds is allocated when the stream is opened (since streamed sounds can't share buffers), and freed when the stream is closed. For block sounds, the buffer is reference counted (with the sfx holding one reference, so currently block buffers never get freed), with their reference count getting incremented on open and decremented on close. That the reference counts get to 1 has been confirmed, so all that should be needed is proper destruction of the sfx instances. Still need to sort out just why channels leak across level changes. |
||
---|---|---|
.. | ||
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 |