[Scummvm-cvs-logs] SF.net SVN: scummvm:[52727] scummvm/trunk/engines/saga/sndres.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Wed Sep 15 00:16:32 CEST 2010
Revision: 52727
http://scummvm.svn.sourceforge.net/scummvm/?rev=52727&view=rev
Author: wjpalenstijn
Date: 2010-09-14 22:16:31 +0000 (Tue, 14 Sep 2010)
Log Message:
-----------
SAGA: Fix audio flags for VOC sounds
This is a regression from r43470 and fixes the speech in the intro.
Bug #3065113.
Modified Paths:
--------------
scummvm/trunk/engines/saga/sndres.cpp
Modified: scummvm/trunk/engines/saga/sndres.cpp
===================================================================
--- scummvm/trunk/engines/saga/sndres.cpp 2010-09-14 21:53:22 UTC (rev 52726)
+++ scummvm/trunk/engines/saga/sndres.cpp 2010-09-14 22:16:31 UTC (rev 52727)
@@ -331,6 +331,8 @@
if (onlyHeader)
free(data);
buffer.flags |= Audio::FLAG_UNSIGNED;
+ buffer.flags &= ~Audio::FLAG_16BITS;
+ buffer.flags &= ~Audio::FLAG_STEREO;
}
if (result) {
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