[Scummvm-cvs-logs] CVS: scummvm/sound voc.h,1.2,1.3

Max Horn fingolfin at users.sourceforge.net
Tue Sep 9 05:37:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv31658/sound

Modified Files:
	voc.h 
Log Message:
map 0xA5 to 11025 Hz, too

Index: voc.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/voc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- voc.h	9 Sep 2003 12:34:13 -0000	1.2
+++ voc.h	9 Sep 2003 12:36:41 -0000	1.3
@@ -50,7 +50,7 @@
 
 
 static inline int getSampleRateFromVOCRate(int vocSR) {
-	if (vocSR == 0xa6) {
+	if (vocSR == 0xa5 || vocSR == 0xa6) {
 		return 11025;
 	} else if (vocSR == 0xd2 || vocSR == 0xd3) {
 		return 22050;





More information about the Scummvm-git-logs mailing list