From 42805cb4512f1edd857564092ca812d9c5065b95 Mon Sep 17 00:00:00 2001 From: jkeil Date: Thu, 19 Jul 2001 20:04:54 +0000 Subject: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1347 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_sun.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libao2/ao_sun.c') diff --git a/libao2/ao_sun.c b/libao2/ao_sun.c index b723fd9ea4..071b750b58 100644 --- a/libao2/ao_sun.c +++ b/libao2/ao_sun.c @@ -75,8 +75,10 @@ static int oss2sunfmt(int oss_format) 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; -- cgit v1.2.3