changeset 18:56848f781b4c

Audio timing adjustment.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 22 May 2010 23:13:02 +0300
parents c60e531d19cd
children 2c72092554fa
files pwplib/snd-sdl.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pwplib/snd-sdl.c	Sat May 22 20:32:49 2010 +0300
+++ b/pwplib/snd-sdl.c	Sat May 22 23:13:02 2010 +0300
@@ -17,7 +17,7 @@
 
 #include "pwplib.h"
 
-#define TIMERHZ (72/2)
+#define TIMERHZ (72/3)
 
 static int pwp_sdlaudio_run = 1;
 static int pwp_sdlaudio_frag = -1, pwp_sdlaudio_curr;
@@ -47,7 +47,6 @@
 static void pwp_sdlaudio_start(void)
 {
     if (pwp_sdlaudio_run) {
-        fprintf(stderr, "\nsound starting\n");
         pwp_sdlaudio_curr = pwp_sdlaudio_frag;
         pwp_sdlaudio_run = 0;
         SDL_PauseAudio(0);