Fixes the 6 speaker sound issues (turned out that dsound was changing the buffer size to be a multiple of the number of speakers. I don't blame it!)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2181 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-04-09 01:53:26 +00:00
parent 9b9b696afe
commit 68afaaacd0

View file

@ -478,9 +478,7 @@ static int DSOUND_GetDMAPos(soundcardinfo_t *sc)
s >>= (sc->sn.samplebits/8) - 1;
s &= (sc->sn.samples) - 1;
// s = (s/sc->sn.numchannels % (sc->sn.samples-1));
s %= (sc->sn.samples);
return s;
}