mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +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. |
||
---|---|---|
.. | ||
renderer | ||
targets | ||
test | ||
cd.c | ||
cd_file.c | ||
cd_linux.c | ||
cd_sdl.c | ||
cd_sgi.c | ||
cd_win.c | ||
cd_xmms.c | ||
Makemodule.am | ||
snd.c | ||
snd_progs.c |