[Mplayer-cvslog] CVS: main/libao2 ao_alsa5.c,1.6,1.7

Alex Beregszaszi alex at mplayer.dev.hu
Fri Nov 23 17:35:53 CET 2001


Update of /cvsroot/mplayer/main/libao2
In directory mplayer:/var/tmp.root/cvs-serv30919

Modified Files:
	ao_alsa5.c 
Log Message:
compiling under qnx, hope it works on all qnx release :)

Index: ao_alsa5.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa5.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ao_alsa5.c	12 Jun 2001 14:13:26 -0000	1.6
+++ ao_alsa5.c	23 Nov 2001 16:35:51 -0000	1.7
@@ -189,8 +189,10 @@
 	    printf("alsa-init: pcm channel info error: %s\n", snd_strerror(err));
 	    return(0);
 	}
+#ifndef __QNX__
 	if (chninfo.buffer_size)
 	    ao_buffersize = chninfo.buffer_size;
+#endif
 	if (verbose)
 	    printf("alsa-init: setting preferred buffer size from driver: %d bytes\n",
 		ao_buffersize);




More information about the MPlayer-cvslog mailing list