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
This commit is contained in:
jkeil 2001-07-19 20:04:54 +00:00
parent ca79276b20
commit 42805cb451
1 changed files with 2 additions and 0 deletions

View File

@ -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;