mirror of
https://github.com/mpv-player/mpv
synced 2025-01-27 18:13:15 +00:00
audio_format_out_name update
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1122 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8604316a5c
commit
9334252452
@ -64,11 +64,12 @@ char *audio_out_format_name(int format)
|
|||||||
{
|
{
|
||||||
switch (format)
|
switch (format)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
case AFMT_MU_LAW:
|
case AFMT_MU_LAW:
|
||||||
|
return("Mu-Law");
|
||||||
case AFMT_A_LAW:
|
case AFMT_A_LAW:
|
||||||
|
return("A-Law");
|
||||||
case AFMT_IMA_ADPCM:
|
case AFMT_IMA_ADPCM:
|
||||||
*/
|
return("Ima-ADPCM");
|
||||||
case AFMT_S8:
|
case AFMT_S8:
|
||||||
return("Signed 8-bit");
|
return("Signed 8-bit");
|
||||||
case AFMT_U8:
|
case AFMT_U8:
|
||||||
@ -83,8 +84,10 @@ char *audio_out_format_name(int format)
|
|||||||
return("Unsigned 16-bit (Big-Endian)");
|
return("Unsigned 16-bit (Big-Endian)");
|
||||||
case AFMT_MPEG:
|
case AFMT_MPEG:
|
||||||
return("MPEG (2) audio");
|
return("MPEG (2) audio");
|
||||||
// the following two formats are not available with old linux kernel
|
/*
|
||||||
// headers (e.g. in 2.2.16)
|
the following two formats are not available with old linux kernel
|
||||||
|
headers (e.g. in 2.2.16)
|
||||||
|
*/
|
||||||
#ifdef AFMT_S32_LE
|
#ifdef AFMT_S32_LE
|
||||||
case AFMT_S32_LE:
|
case AFMT_S32_LE:
|
||||||
return("Signed 32-bit (Little-Endian)");
|
return("Signed 32-bit (Little-Endian)");
|
||||||
|
Loading…
Reference in New Issue
Block a user