mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
unsinged 32 and 24bit types
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13566 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fe4f5a4336
commit
51974735e9
@ -30,10 +30,18 @@ char *audio_out_format_name(int format)
|
||||
return("MPEG (2) audio");
|
||||
case AFMT_AC3:
|
||||
return("AC3");
|
||||
case AFMT_U32_LE:
|
||||
return("Unsigned 32-bit (Little-Endian)");
|
||||
case AFMT_U32_BE:
|
||||
return("Unsigned 32-bit (Big-Endian)");
|
||||
case AFMT_S32_LE:
|
||||
return("Signed 32-bit (Little-Endian)");
|
||||
case AFMT_S32_BE:
|
||||
return("Signed 32-bit (Big-Endian)");
|
||||
case AFMT_U24_LE:
|
||||
return("Unsigned 24-bit (Little-Endian)");
|
||||
case AFMT_U24_BE:
|
||||
return("Unsigned 24-bit (Big-Endian)");
|
||||
case AFMT_S24_LE:
|
||||
return("Signed 24-bit (Little-Endian)");
|
||||
case AFMT_S24_BE:
|
||||
@ -56,11 +64,15 @@ int audio_out_format_bits(int format){
|
||||
|
||||
case AFMT_S32_LE:
|
||||
case AFMT_S32_BE:
|
||||
case AFMT_U32_LE:
|
||||
case AFMT_U32_BE:
|
||||
case AFMT_FLOAT:
|
||||
return 32;
|
||||
|
||||
case AFMT_S24_LE:
|
||||
case AFMT_S24_BE:
|
||||
case AFMT_U24_LE:
|
||||
case AFMT_U24_BE:
|
||||
return 24;
|
||||
|
||||
case AFMT_MU_LAW:
|
||||
|
Loading…
Reference in New Issue
Block a user