mirror of https://github.com/mpv-player/mpv
mad audio support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2422 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5462f7f527
commit
0efaea716f
|
@ -6,6 +6,9 @@
|
||||||
#
|
#
|
||||||
# Changes in reversed order:
|
# Changes in reversed order:
|
||||||
#
|
#
|
||||||
|
# 2001/10/22 by Jeroen Dobbelaere
|
||||||
|
# - added selection of libmad
|
||||||
|
#
|
||||||
# 2001/08/27 by Johannes Feigl
|
# 2001/08/27 by Johannes Feigl
|
||||||
# - added manual selection of language
|
# - added manual selection of language
|
||||||
#
|
#
|
||||||
|
@ -194,6 +197,7 @@ params:
|
||||||
--enable-termcap use termcap database for key codes
|
--enable-termcap use termcap database for key codes
|
||||||
--enable-xmmp use XMMP audio drivers
|
--enable-xmmp use XMMP audio drivers
|
||||||
--enable-lirc enable LIRC (remote control) support
|
--enable-lirc enable LIRC (remote control) support
|
||||||
|
--enable-mad enable mad audio support
|
||||||
|
|
||||||
--disable-iconv do not use iconv(3) function [autodetect]
|
--disable-iconv do not use iconv(3) function [autodetect]
|
||||||
--disable-ossaudio disable OSS sound support [autodetect]
|
--disable-ossaudio disable OSS sound support [autodetect]
|
||||||
|
@ -228,6 +232,8 @@ params:
|
||||||
(only needed if autodetection fails)
|
(only needed if autodetection fails)
|
||||||
--with-extraincdir=DIR extra headers (png, SDL) are in DIR
|
--with-extraincdir=DIR extra headers (png, SDL) are in DIR
|
||||||
(only needed if autodetection fails)
|
(only needed if autodetection fails)
|
||||||
|
--with-madlibdir=DIR libmad library files are in DIR
|
||||||
|
--with-madincdir=DIR libmad header is in DIR
|
||||||
--size-x=SIZE default screen width
|
--size-x=SIZE default screen width
|
||||||
--size-y=SIZE default screen height
|
--size-y=SIZE default screen height
|
||||||
EOF
|
EOF
|
||||||
|
@ -285,6 +291,12 @@ for ac_option do
|
||||||
--with-extraincdir=*)
|
--with-extraincdir=*)
|
||||||
_extraincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
|
_extraincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
|
||||||
;;
|
;;
|
||||||
|
--with-madlibdir=*)
|
||||||
|
_madlibdir=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
|
||||||
|
;;
|
||||||
|
--with-madincdir=*)
|
||||||
|
_madincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -1292,6 +1304,12 @@ for ac_option do
|
||||||
--enable-divx4)
|
--enable-divx4)
|
||||||
_divx4linux=yes
|
_divx4linux=yes
|
||||||
;;
|
;;
|
||||||
|
--enable-mad)
|
||||||
|
_madlibrary=yes
|
||||||
|
;;
|
||||||
|
--disable-mad)
|
||||||
|
_madlibrary=no
|
||||||
|
;;
|
||||||
--disable-css)
|
--disable-css)
|
||||||
_css=no
|
_css=no
|
||||||
;;
|
;;
|
||||||
|
@ -1624,6 +1642,7 @@ echo "Checking for Sun mediaLib ... $_mlib"
|
||||||
echo "Checking for DeCSS support ... $_css"
|
echo "Checking for DeCSS support ... $_css"
|
||||||
echo "Checking for DVDread support ... $_dvdread"
|
echo "Checking for DVDread support ... $_dvdread"
|
||||||
echo "Checking for PNG support ... $_png"
|
echo "Checking for PNG support ... $_png"
|
||||||
|
echo "Checking for mad support ... $_madlibrary"
|
||||||
echo "Checking for OggVorbis support ... $_vorbis"
|
echo "Checking for OggVorbis support ... $_vorbis"
|
||||||
echo "Checking for Win32 DLL support ... $_win32dll"
|
echo "Checking for Win32 DLL support ... $_win32dll"
|
||||||
echo "Checking for DirectShow ... $_dshow"
|
echo "Checking for DirectShow ... $_dshow"
|
||||||
|
@ -1908,6 +1927,10 @@ if test "$_png" = yes ; then
|
||||||
_libpng='-lpng -lz'
|
_libpng='-lpng -lz'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$_madlibrary" = yes ; then
|
||||||
|
_libmad='-lmad'
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$_vorbis" = yes ; then
|
if test "$_vorbis" = yes ; then
|
||||||
_vorbis='#define HAVE_OGGVORBIS'
|
_vorbis='#define HAVE_OGGVORBIS'
|
||||||
_libvorbis='-lvorbis -lm'
|
_libvorbis='-lvorbis -lm'
|
||||||
|
@ -2086,6 +2109,11 @@ else
|
||||||
_png='#undef HAVE_PNG'
|
_png='#undef HAVE_PNG'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$_madlibrary" = yes ; then
|
||||||
|
_madlibrary='#define USE_LIBMAD'
|
||||||
|
else
|
||||||
|
_madlibrary='#undef USE_LIBMAD'
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$_mlib" = yes ; then
|
if test "$_mlib" = yes ; then
|
||||||
_mlibdef='#define HAVE_MLIB'
|
_mlibdef='#define HAVE_MLIB'
|
||||||
|
@ -2264,7 +2292,7 @@ WIN32_PATH=-DWIN32_PATH=\\"$_win32libdir\\"
|
||||||
|
|
||||||
X11_INC=$_x11incdir
|
X11_INC=$_x11incdir
|
||||||
X11DIR=$_x11libdir
|
X11DIR=$_x11libdir
|
||||||
X_LIBS=$_x11libdir $_extralibdir $_gllib $_ggilib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib $_aalib $_libvorbis $_xineramalib
|
X_LIBS=$_x11libdir $_extralibdir $_gllib $_ggilib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib $_aalib $_libvorbis $_xineramalib $_libmad
|
||||||
|
|
||||||
TERMCAP_LIB=$_libtermcap
|
TERMCAP_LIB=$_libtermcap
|
||||||
XMM_LIBS = $_xmmplibs
|
XMM_LIBS = $_xmmplibs
|
||||||
|
@ -2287,6 +2315,8 @@ DECORE_LIBS = $_decorelibs
|
||||||
DIVX4LINUX=$_divx4linux
|
DIVX4LINUX=$_divx4linux
|
||||||
MLIB_INC = $_mlibinc
|
MLIB_INC = $_mlibinc
|
||||||
MLIB_LIB = $_mliblib
|
MLIB_LIB = $_mliblib
|
||||||
|
MADLIB_INC = $_madincdir
|
||||||
|
MADLIB_LIB = $_madlibdir
|
||||||
|
|
||||||
# --- Some stuff for autoconfigure ----
|
# --- Some stuff for autoconfigure ----
|
||||||
$_target_arch
|
$_target_arch
|
||||||
|
@ -2476,6 +2506,9 @@ $_termcap
|
||||||
/* enable PNG support */
|
/* enable PNG support */
|
||||||
$_png
|
$_png
|
||||||
|
|
||||||
|
/* libmad support */
|
||||||
|
$_madlibrary
|
||||||
|
|
||||||
/* enable OggVorbis support */
|
/* enable OggVorbis support */
|
||||||
$_vorbis
|
$_vorbis
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue