[Scummvm-cvs-logs] CVS: residual driver_sdl.cpp,1.3,1.4

Marcus Comstedt marcus_c at users.sourceforge.net
Sun Feb 5 12:42:02 CET 2006


Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12636

Modified Files:
	driver_sdl.cpp 
Log Message:
Use _samplesPerSec instead of hardcoded value when opening audio, just in case...

Index: driver_sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/driver_sdl.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- driver_sdl.cpp	5 Feb 2006 20:40:16 -0000	1.3
+++ driver_sdl.cpp	5 Feb 2006 20:41:17 -0000	1.4
@@ -357,7 +357,7 @@
 
 	memset(&desired, 0, sizeof(desired));
 
-	desired.freq = 22050;
+	desired.freq = _samplesPerSec;
 	desired.format = AUDIO_S16SYS;
 	desired.channels = 2;
 	desired.samples = 2048;





More information about the Scummvm-git-logs mailing list