BeOS Audio ouput patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1163 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
François Revol
2002-11-05 00:38:06 +00:00
committed by Michael Niedermayer
parent 95e2ce4aa0
commit dfdfa47cd1
6 changed files with 346 additions and 2 deletions

11
configure vendored
View File

@@ -51,6 +51,7 @@ esac
gprof="no"
v4l="yes"
audio_oss="yes"
audio_beos="no"
network="yes"
zlib="yes"
mp3lame="no"
@@ -89,6 +90,8 @@ SHFLAGS=-nostart
# disable linux things
audio_oss="no"
v4l="no"
# enable beos things
audio_beos="yes"
# no need for libm, but the inet stuff
# Check for BONE
if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
@@ -186,6 +189,8 @@ for opt do
;;
--disable-audio-oss) audio_oss="no"
;;
--disable-audio-beos) audio_beos="no"
;;
--disable-network) network="no"
;;
--disable-zlib) zlib="no"
@@ -411,6 +416,7 @@ echo " --cpu=CPU force cpu to CPU [$cpu]"
echo " --disable-mmx disable mmx usage"
echo " --disable-altivec disable AltiVec usage"
echo " --disable-audio-oss disable OSS audio support [default=no]"
echo " --disable-audio-beos disable BeOS audio support [default=no]"
echo " --disable-v4l disable video4linux grabbing [default=no]"
echo " --disable-network disable network support [default=no]"
echo " --disable-zlib disable zlib [default=no]"
@@ -559,6 +565,11 @@ if test "$audio_oss" = "yes" ; then
echo "CONFIG_AUDIO_OSS=yes" >> config.mak
fi
if test "$audio_beos" = "yes" ; then
echo "#define CONFIG_AUDIO_BEOS 1" >> $TMPH
echo "CONFIG_AUDIO_BEOS=yes" >> config.mak
fi
if test "$network" = "yes" ; then
echo "#define CONFIG_NETWORK 1" >> $TMPH
echo "CONFIG_NETWORK=yes" >> config.mak