[Mplayer-cvslog] CVS: main/libao2 ao_oss.c,1.24,1.25
Arpi of Ize
arpi at mplayerhq.hu
Mon May 20 05:25:55 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/input input.c,1.32,1.33
- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs ad_mp3.c,1.2,1.3 dec_audio.c,1.4,1.5 dec_video.c,1.135,1.136 vd.c,1.38,1.39 vf.c,1.29,1.30 vf_scale.c,1.11,1.12 vf_vo.c,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv6187/libao2
Modified Files:
ao_oss.c
Log Message:
big cosmetics patch, cleanup of messages printed by mplayer and libs.
some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2
mplayer's output is now shorter, readable and consistent
Index: ao_oss.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_oss.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ao_oss.c 13 May 2002 20:11:51 -0000 1.24
+++ ao_oss.c 20 May 2002 03:25:23 -0000 1.25
@@ -91,6 +91,7 @@
// return: 1=success 0=fail
static int init(int rate,int channels,int format,int flags){
+ if (verbose)
printf("ao2: %d Hz %d chans %s\n",rate,channels,
audio_out_format_name(format));
@@ -109,14 +110,14 @@
audio_fd=open(dsp, O_WRONLY);
#endif
if(audio_fd<0){
- printf("Can't open audio device %s: %s -> no sound\n", dsp, strerror(errno));
+ printf("Can't open audio device %s: %s\n", dsp, strerror(errno));
return 0;
}
#ifdef __linux__
/* Remove the non-blocking flag */
if(fcntl(audio_fd, F_SETFL, 0) < 0) {
- printf("Can't make filedescriptor non-blocking: %s -> no sound\n", strerror(errno));
+ printf("Can't make filedescriptor non-blocking: %s\n", strerror(errno));
return 0;
}
#endif
- Previous message: [Mplayer-cvslog] CVS: main/input input.c,1.32,1.33
- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs ad_mp3.c,1.2,1.3 dec_audio.c,1.4,1.5 dec_video.c,1.135,1.136 vd.c,1.38,1.39 vf.c,1.29,1.30 vf_scale.c,1.11,1.12 vf_vo.c,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list