[MPlayer-cvslog] CVS: main/libao2 ao_sun.c,1.36,1.37

Diego Biurrun CVS syncmail at mplayerhq.hu
Fri Mar 24 09:21:43 CET 2006


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv31521/libao2

Modified Files:
	ao_sun.c 
Log Message:
printf --> mp_msg


Index: ao_sun.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_sun.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- ao_sun.c	24 Mar 2006 08:12:01 -0000	1.36
+++ ao_sun.c	24 Mar 2006 08:21:40 -0000	1.37
@@ -166,13 +166,13 @@
 	}
 	if (info.play.samples < last_samplecnt) {
 	    if ( mp_msg_test(MSGT_AO,MSGL_V) )
-		printf("rtsc: %d > %d?\n", last_samplecnt, info.play.samples);
+		mp_msg(MSGT_AO,MSGL_V,"rtsc: %d > %d?\n", last_samplecnt, info.play.samples);
 	    goto error;
 	}
 
 	if ((increment = info.play.samples - last_samplecnt) > 0) {
 	    if ( mp_msg_test(MSGT_AO,MSGL_V) )
-		printf("ao_sun: sample counter increment: %d\n", increment);
+	        mp_msg(MSGT_AO,MSGL_V,"ao_sun: sample counter increment: %d\n", increment);
 	    if (increment < min_increment) {
 		min_increment = increment;
 		if (min_increment < 2000)
@@ -195,7 +195,7 @@
 	rtsc_ok = RTSC_ENABLED;
 
     if ( mp_msg_test(MSGT_AO,MSGL_V) )
-	printf("ao_sun: minimum sample counter increment per 10msec interval: %d\n"
+	mp_msg(MSGT_AO,MSGL_V,"ao_sun: minimum sample counter increment per 10msec interval: %d\n"
 	       "\t%susing sample counter based timing code\n",
 	       min_increment, rtsc_ok == RTSC_ENABLED ? "" : "not ");
     
@@ -465,7 +465,7 @@
 	enable_sample_timing = realtime_samplecounter_available(audio_dev);
     }
 
-    printf("ao2: %d Hz  %d chans  %s [0x%X]\n",
+    mp_msg(MSGT_AO,MSGL_STATUS,"ao2: %d Hz  %d chans  %s [0x%X]\n",
 	   rate,channels,af_fmt2str_short(format),format);
 
     audio_fd=open(audio_dev, O_WRONLY);




More information about the MPlayer-cvslog mailing list