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