diff libao2/ao_sun.c @ 1346:d6e6132bff35

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.
author jkeil
date Thu, 19 Jul 2001 20:04:54 +0000
parents 18374d49befa
children 8c57a5a3c645
line wrap: on
line diff
--- a/libao2/ao_sun.c	Thu Jul 19 18:47:22 2001 +0000
+++ b/libao2/ao_sun.c	Thu Jul 19 20:04:54 2001 +0000
@@ -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;