quakeforge/libs/audio/renderer
Bill Currie 91140acfee [sound] Access the buffer directly from the channel
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.
2022-06-06 12:39:54 +09:00
..
flac.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
Makemodule.am [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
midi.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
snd_channels.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
snd_dma.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
snd_mem.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
snd_mix.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
snd_resample.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
snd_sfx.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
vorbis.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00
wav.c [sound] Access the buffer directly from the channel 2022-06-06 12:39:54 +09:00