openbsd-ports/games/openarena/patches/patch-code_client_snd_dma_c
jakemsr 313837a2ff * use the sndio backend from games/quake, since ao uses (essentially)
the same audio engine as quake
* use -pthread instead of -lpthread for pthreads linkage
* oa defines an ALIGN macro, rename it to QALIGN to avoid clashing
  with the ALIGN macro from machine/param.h
* use /dev/arandom instead of /dev/urandom
ok jasper@
2010-05-27 03:47:28 +00:00

24 lines
640 B
Plaintext

$OpenBSD: patch-code_client_snd_dma_c,v 1.1 2010/05/27 03:47:28 jakemsr Exp $
--- code/client/snd_dma.c.orig Mon May 3 05:44:09 2010
+++ code/client/snd_dma.c Mon May 3 06:18:07 2010
@@ -1221,7 +1221,6 @@ void S_Update_(void) {
static float lastTime = 0.0f;
float ma, op;
float thisTime, sane;
- static int ot = -1;
if ( !s_soundStarted || s_soundMuted ) {
return;
@@ -1231,11 +1230,6 @@ void S_Update_(void) {
// Updates s_soundtime
S_GetSoundtime();
-
- if (s_soundtime == ot) {
- return;
- }
- ot = s_soundtime;
// clear any sound effects that end before the current time,
// and start any new sounds