quakeforge/libs/audio/renderer
Bill Currie 79f3f651a4 [sound] Bring QF into the atomic age
Nuclear powered audio ;)

More seriously, use _Atomic on a few fields that very obviously need it.
That is, channel's buffer pointer (used to signal to the mixer that the
channel is ready for use) and "flow control" flags (stop, done and
pause), and head and tail in the buffer itself. Since QF has been
working without _Atomic (admittedly, thanks to luck and x86's strong
memory model), this should do until proven otherwise. I imagine getting
stream reading out of the RT thread will highlight any issues.
2022-06-06 12:39:54 +09:00
..
Makemodule.am [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
flac.c [sound] Use SYS_snd for all masked prints 2022-06-06 12:39:54 +09:00
midi.c [sound] Use SYS_snd for all masked prints 2022-06-06 12:39:54 +09:00
snd_channels.c [sound] Plug the channel leak 2022-06-06 12:39:54 +09:00
snd_dma.c [sound] Add a threaded field to snd_t 2022-06-06 12:39:54 +09:00
snd_mem.c [sound] Use SYS_snd for all masked prints 2022-06-06 12:39:54 +09:00
snd_mix.c [sound] Bring QF into the atomic age 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] Use SYS_snd for all masked prints 2022-06-06 12:39:54 +09:00
wav.c [sound] Use SYS_snd for all masked prints 2022-06-06 12:39:54 +09:00