changeset 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 be674b95b485
children 448d1bf28f5a
files libao2/ao_sun.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;