mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
79f3f651a4
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. |
||
---|---|---|
.. | ||
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 |