In debugging other issues, I noticed that if a Com_Error / ERR_DROP is thrown, player sounds (and only player sounds) stop working. This is probably a media dependency issue, where maybe the backing OpenAL buffer is freed inadvertently or something.
To reproduce, set a breakpoint somewhere (for me, this was in G_Damage, but it probably doesn't matter at all). Allow the breakpoint to reach, and then sit on it for 30 seconds or more. Step over the breakpoint, and the client will timeout (assuming you've waited enough time). Notice that player sounds are silent. Reloading the current map does not fix them, but s_restart does.
In debugging other issues, I noticed that if a Com_Error / ERR_DROP is thrown, player sounds (and only player sounds) stop working. This is probably a media dependency issue, where maybe the backing OpenAL buffer is freed inadvertently or something.
To reproduce, set a breakpoint somewhere (for me, this was in G_Damage, but it probably doesn't matter at all). Allow the breakpoint to reach, and then sit on it for 30 seconds or more. Step over the breakpoint, and the client will timeout (assuming you've waited enough time). Notice that player sounds are silent. Reloading the current map does not fix them, but
s_restart
does.