# HG changeset patch # User jkeil # Date 995573094 0 # Node ID d6e6132bff359c01580f50a94aa96ad92ee75b3b # Parent be674b95b4851ca38f1ac5b528aebce9858082b3 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. diff -r be674b95b485 -r d6e6132bff35 libao2/ao_sun.c --- 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;