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
This commit is contained in:
Spoike 2008-03-02 10:20:25 +00:00
parent c1f86620db
commit 9a59674c19

View file

@ -1061,7 +1061,7 @@ void S_ClearBuffer (soundcardinfo_t *sc)
buffer = sc->Lock(sc); buffer = sc->Lock(sc);
if (buffer) 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); sc->Unlock(sc, buffer);
} }
} }