[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.261,1.262
Travis Howell
kirben at users.sourceforge.net
Mon Oct 6 20:55:26 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv11786/scumm
Modified Files:
sound.cpp
Log Message:
FM TOWNS sfx fix, correct sample rate.
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -d -r1.261 -r1.262
--- sound.cpp 3 Oct 2003 18:33:56 -0000 1.261
+++ sound.cpp 7 Oct 2003 03:54:49 -0000 1.262
@@ -350,7 +350,7 @@
int loopStart = READ_LE_UINT32(ptr + 0x10);
int loopEnd = READ_LE_UINT32(ptr + 0x14);
// it's not exactly * 10, maybe it's not even linear, but * 10 sounds ok.
- rate = READ_LE_UINT32(ptr + 0x18) * 10;
+ rate = READ_LE_UINT32(ptr + 0x18) * 10.2;
ptr += 0x20;
size -= 0x20;
More information about the Scummvm-git-logs
mailing list