mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
c1f86620db
commit
9a59674c19
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue