mirror of
https://github.com/mpv-player/mpv
synced 2025-03-31 15:59:34 +00:00
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:
parent
ca79276b20
commit
42805cb451
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user