[Scummvm-cvs-logs] SF.net SVN: scummvm:[36235] scummvm/trunk/sound/voc.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sat Feb 7 05:49:10 CET 2009


Revision: 36235
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36235&view=rev
Author:   Kirben
Date:     2009-02-07 04:49:10 +0000 (Sat, 07 Feb 2009)

Log Message:
-----------
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.

Modified Paths:
--------------
    scummvm/trunk/sound/voc.cpp

Modified: scummvm/trunk/sound/voc.cpp
===================================================================
--- scummvm/trunk/sound/voc.cpp	2009-02-07 04:40:39 UTC (rev 36234)
+++ scummvm/trunk/sound/voc.cpp	2009-02-07 04:49:10 UTC (rev 36235)
@@ -164,6 +164,10 @@
 	if (!data)
 		return 0;
 
+	// Default to unsigned sound data, if not flags set
+	if (!flags)
+		 flags |= Audio::Mixer::FLAG_UNSIGNED;
+
 	return makeLinearInputStream(data, size, rate, flags | Audio::Mixer::FLAG_AUTOFREE, loopStart, loopEnd);
 }
 


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