Mercurial > mplayer.hg
view libao2/afmt.c @ 4678:737969e6affc
Support for XviD library detection:
- preferences are: xvid static > xvid dyn. > divx4 dyn. > opendivx static >
nothing
- --enable/disable-xvid (default = autoenabled if libxvidcore.so found)
- --with-xvidcore=... (to use a static linking: path to xvid's libcore.a)
Notes:
- opendivx postprocess filters are not enabled for xvid as Michael's are
better
- add weird path for include/dyn lib to the --with-extra*
author | pl |
---|---|
date | Tue, 12 Feb 2002 22:03:44 +0000 |
parents | 2c3ab498ac90 |
children | 16e33d66b813 |
line wrap: on
line source
#include <stdio.h> #include <stdlib.h> #include "../config.h" #include "afmt.h" char *audio_out_format_name(int format) { switch (format) { case AFMT_MU_LAW: return("Mu-Law"); case AFMT_A_LAW: return("A-Law"); case AFMT_IMA_ADPCM: return("Ima-ADPCM"); case AFMT_S8: return("Signed 8-bit"); case AFMT_U8: return("Unsigned 8-bit"); case AFMT_U16_LE: return("Unsigned 16-bit (Little-Endian)"); case AFMT_U16_BE: return("Unsigned 16-bit (Big-Endian)"); case AFMT_S16_LE: return("Signed 16-bit (Little-Endian)"); case AFMT_S16_BE: return("Signed 16-bit (Big-Endian)"); case AFMT_MPEG: return("MPEG (2) audio"); case AFMT_AC3: return("AC3"); /* the following two formats are not available with old linux kernel headers (e.g. in 2.2.16) */ #ifdef AFMT_S32_LE case AFMT_S32_LE: return("Signed 32-bit (Little-Endian)"); #endif #ifdef AFMT_S32_BE case AFMT_S32_BE: return("Signed 32-bit (Big-Endian)"); #endif } return("Unknown"); }