gb reports that this greatly improves stereo ogg playback quality.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4713 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
db9f9ed98c
commit
d63b8cefd6
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ sfxcache_t *OV_DecodeSome(struct sfx_s *sfx, struct sfxcache_s *buf, int start,
|
|||
dec->srcchannels,
|
||||
snd_linearresample_stream.ival);
|
||||
|
||||
bytesread = (int)floor(bytesread / scale) & ~0x1;
|
||||
bytesread = (int)floor(bytesread / scale) & ~(2 * dec->srcchannels - 1);
|
||||
}
|
||||
|
||||
dec->decodedbytecount += bytesread;
|
||||
|
|
Loading…
Reference in a new issue