mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-14 00:10:46 +00:00
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,
|
dec->srcchannels,
|
||||||
snd_linearresample_stream.ival);
|
snd_linearresample_stream.ival);
|
||||||
|
|
||||||
bytesread = (int)floor(bytesread / scale) & ~0x1;
|
bytesread = (int)floor(bytesread / scale) & ~(2 * dec->srcchannels - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
dec->decodedbytecount += bytesread;
|
dec->decodedbytecount += bytesread;
|
||||||
|
|
Loading…
Reference in a new issue