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

Jürgen Keil jkeil at mplayer.dev.hu
Thu Jul 19 22:04:56 CEST 2001


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

Modified Files:
	ao_sun.c 
Log Message:
AUDIO_ENCODING_LINEAR8 format is not available on sunos 5.5.  Format is
unsupported in mplayer for now, to get the code compiled on that old version
of the OS.


Index: ao_sun.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_sun.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ao_sun.c	14 Jul 2001 16:58:55 -0000	1.6
+++ ao_sun.c	19 Jul 2001 20:04:54 -0000	1.7
@@ -75,8 +75,10 @@
     case AFMT_S16_BE:
     case AFMT_S16_LE:
 	return AUDIO_ENCODING_LINEAR;
+#ifdef	AUDIO_ENCODING_LINEAR8	// Missing on SunOS 5.5.1...
     case AFMT_U8:
 	return AUDIO_ENCODING_LINEAR8;
+#endif
 #ifdef	AUDIO_ENCODING_DVI	// Missing on NetBSD...
     case AFMT_IMA_ADPCM:
 	return AUDIO_ENCODING_DVI;




More information about the MPlayer-cvslog mailing list