[Scummvm-cvs-logs] SF.net SVN: scummvm:[47264] scummvm/trunk/sound/audiostream.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Tue Jan 12 13:58:48 CET 2010
Revision: 47264
http://scummvm.svn.sourceforge.net/scummvm/?rev=47264&view=rev
Author: wjpalenstijn
Date: 2010-01-12 12:58:48 +0000 (Tue, 12 Jan 2010)
Log Message:
-----------
Fix loop alignment check
Modified Paths:
--------------
scummvm/trunk/sound/audiostream.cpp
Modified: scummvm/trunk/sound/audiostream.cpp
===================================================================
--- scummvm/trunk/sound/audiostream.cpp 2010-01-12 12:00:00 UTC (rev 47263)
+++ scummvm/trunk/sound/audiostream.cpp 2010-01-12 12:58:48 UTC (rev 47264)
@@ -590,7 +590,7 @@
if (is16Bit && isStereo)
assert((loopLen & 3) == 0 && (loopStart & 3) == 0 && (loopEnd & 3) == 0);
else if (is16Bit || isStereo)
- assert((loopLen & 1) == 0 && (loopStart & 1) == 0 && (loopEnd & 3) == 0);
+ assert((loopLen & 1) == 0 && (loopStart & 1) == 0 && (loopEnd & 1) == 0);
const uint32 extRate = stream->getRate() * (is16Bit ? 2 : 1) * (isStereo ? 2 : 1);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list