From 9a59674c197742affea7d557412af6ccac108225 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 2 Mar 2008 10:20:25 +0000 Subject: [PATCH] helps if we clear the right buffer. This is clearly pointless as it took so long to be noticed, but lets do it anyway. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2935 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/snd_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/snd_dma.c b/engine/client/snd_dma.c index 347e01719..b5fb837f5 100644 --- a/engine/client/snd_dma.c +++ b/engine/client/snd_dma.c @@ -1061,7 +1061,7 @@ void S_ClearBuffer (soundcardinfo_t *sc) buffer = sc->Lock(sc); if (buffer) { - Q_memset(sc->sn.buffer, clear, sc->sn.samples * sc->sn.samplebits/8); + Q_memset(buffer, clear, sc->sn.samples * sc->sn.samplebits/8); sc->Unlock(sc, buffer); } }