[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.83,1.84

Max Horn max at quendi.de
Fri Feb 28 05:26:10 CET 2003


At 3:32 Uhr -0800 28.02.2003, Jonathan Gray wrote:
>Update of /cvsroot/scummvm/scummvm/scumm
>In directory sc8-pr-cvs1:/tmp/cvs-serv9784
>
>Modified Files:
>	sound.cpp
>Log Message:
>change rate for humongous DIGI sounds to 11025
>
>Index: sound.cpp
>===================================================================
>RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
>retrieving revision 1.83
>retrieving revision 1.84
>diff -u -d -r1.83 -r1.84
>--- sound.cpp	8 Feb 2003 00:38:17 -0000	1.83
>+++ sound.cpp	28 Feb 2003 11:32:43 -0000	1.84
>@@ -225,7 +225,8 @@
>  				return;	// abort
>
>  			size = READ_BE_UINT32_UNALIGNED(ptr+4);
>-			rate = 8000;	// FIXME - what value here 
>?!? 8000 is just a guess
>+			// FIXME - what value here ?!? 11025 is just 
>a guess based on strings in w32 bin, prev guess 8000
>+			rate = 11025;
>
>  			// Allocate a sound buffer, copy the data 
>into it, and play
>  			sound = (char*)malloc(size);

Are you sure about this one? Did you ever consider that it might be a 
different value for different games?


Max




More information about the Scummvm-git-logs mailing list