Mercurial > mplayer.hg
comparison configure @ 13460:70d8f1975fc8
directsound audio output plugin, patch by Gabor Szecsi <deje at miki.hu> some minor modifications by me
author | faust3 |
---|---|
date | Sat, 25 Sep 2004 15:34:42 +0000 |
parents | 0f92ad66bbb5 |
children | 8e026ebb082f |
comparison
equal
deleted
inserted
replaced
13459:5634013c47c8 | 13460:70d8f1975fc8 |
---|---|
4023 echocheck "Directx" | 4023 echocheck "Directx" |
4024 if test "$_directx" = auto ; then | 4024 if test "$_directx" = auto ; then |
4025 cat > $TMPC << EOF | 4025 cat > $TMPC << EOF |
4026 #include <windows.h> | 4026 #include <windows.h> |
4027 #include <ddraw.h> | 4027 #include <ddraw.h> |
4028 #include <dsound.h> | |
4028 int main(void) { return 0; } | 4029 int main(void) { return 0; } |
4029 EOF | 4030 EOF |
4030 _directx=no | 4031 _directx=no |
4031 cc_check -lgdi32 && _directx=yes | 4032 cc_check -lgdi32 && _directx=yes |
4032 fi | 4033 fi |
4033 if test "$_directx" = yes ; then | 4034 if test "$_directx" = yes ; then |
4034 _def_directx='#define HAVE_DIRECTX 1' | 4035 _def_directx='#define HAVE_DIRECTX 1' |
4035 _ld_win32libs="-lgdi32 $_ld_win32libs" | 4036 _ld_win32libs="-lgdi32 $_ld_win32libs" |
4036 _vosrc="$_vosrc vo_directx.c" | 4037 _vosrc="$_vosrc vo_directx.c" |
4037 _vomodules="directx $_vomodules" | 4038 _vomodules="directx $_vomodules" |
4039 _aosrc="$_aosrc ao_dsound.c" | |
4040 _aomodules="dsound $_aomodules" | |
4038 else | 4041 else |
4039 _def_directx='#undef HAVE_DIRECTX' | 4042 _def_directx='#undef HAVE_DIRECTX' |
4040 _novomodules="directx $_novomodules" | 4043 _novomodules="directx $_novomodules" |
4044 _noaomodules="dsound $_noaomodules" | |
4041 fi | 4045 fi |
4042 echores "$_directx" | 4046 echores "$_directx" |
4043 | 4047 |
4044 echocheck "NAS" | 4048 echocheck "NAS" |
4045 if test "$_nas" = auto || test "$_nas" = yes ; then | 4049 if test "$_nas" = auto || test "$_nas" = yes ; then |