Mercurial > mplayer.hg
comparison configure @ 11775:66e491c35dc8
ALSA 1.x audio out driver
author | henry |
---|---|
date | Sun, 11 Jan 2004 17:07:32 +0000 |
parents | be23eda3175e |
children | 6d19216b4f2c |
comparison
equal
deleted
inserted
replaced
11774:28b52087c48d | 11775:66e491c35dc8 |
---|---|
3934 EOF | 3934 EOF |
3935 cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='1.0.x-alsa' | 3935 cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='1.0.x-alsa' |
3936 fi | 3936 fi |
3937 _def_alsa5='#undef HAVE_ALSA5' | 3937 _def_alsa5='#undef HAVE_ALSA5' |
3938 _def_alsa9='#undef HAVE_ALSA9' | 3938 _def_alsa9='#undef HAVE_ALSA9' |
3939 _def_alsa1x='#undef HAVE_ALSA1X' | |
3939 _def_sys_asoundlib_h='#undef HAVE_SYS_ASOUNDLIB_H' | 3940 _def_sys_asoundlib_h='#undef HAVE_SYS_ASOUNDLIB_H' |
3940 _def_alsa_asoundlib_h='#undef HAVE_ALSA_ASOUNDLIB_H' | 3941 _def_alsa_asoundlib_h='#undef HAVE_ALSA_ASOUNDLIB_H' |
3941 if test "$_alsaver" ; then | 3942 if test "$_alsaver" ; then |
3942 if test "$_alsaver" = '0.5.x' ; then | 3943 if test "$_alsaver" = '0.5.x' ; then |
3943 _aosrc="$_aosrc ao_alsa5.c" | 3944 _aosrc="$_aosrc ao_alsa5.c" |
3956 _aomodules="alsa9 $_aomodules" | 3957 _aomodules="alsa9 $_aomodules" |
3957 _def_alsa9='#define HAVE_ALSA9 1' | 3958 _def_alsa9='#define HAVE_ALSA9 1' |
3958 _def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1' | 3959 _def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1' |
3959 echores "yes (using alsa 0.9.x and alsa/asoundlib.h)" | 3960 echores "yes (using alsa 0.9.x and alsa/asoundlib.h)" |
3960 elif test "$_alsaver" = '1.0.x-sys' ; then | 3961 elif test "$_alsaver" = '1.0.x-sys' ; then |
3961 _aosrc="$_aosrc ao_alsa9.c" | 3962 _aosrc="$_aosrc ao_alsa1x.c" |
3962 _aomodules="alsa9 $_aomodules" | 3963 _aomodules="alsa1x $_aomodules" |
3963 _def_alsa9="#define ALSA_PCM_OLD_HW_PARAMS_API 1 | 3964 _def_alsa1x="#define HAVE_ALSA1X 1" |
3964 #define ALSA_PCM_OLD_SW_PARAMS_API 1 | |
3965 #define HAVE_ALSA9 1" | |
3966 _def_alsa_asoundlib_h='#define HAVE_SYS_ASOUNDLIB_H 1' | 3965 _def_alsa_asoundlib_h='#define HAVE_SYS_ASOUNDLIB_H 1' |
3967 echores "yes (using alsa 1.0.x and sys/asoundlib.h)" | 3966 echores "yes (using alsa 1.0.x and sys/asoundlib.h)" |
3968 elif test "$_alsaver" = '1.0.x-alsa' ; then | 3967 elif test "$_alsaver" = '1.0.x-alsa' ; then |
3969 _aosrc="$_aosrc ao_alsa9.c" | 3968 _aosrc="$_aosrc ao_alsa1x.c" |
3970 _aomodules="alsa9 $_aomodules" | 3969 _aomodules="alsa1x $_aomodules" |
3971 _def_alsa9="#define ALSA_PCM_OLD_HW_PARAMS_API 1 | 3970 _def_alsa1x="#define HAVE_ALSA1X 1" |
3972 #define ALSA_PCM_OLD_SW_PARAMS_API 1 | |
3973 #define HAVE_ALSA9 1" | |
3974 _def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1' | 3971 _def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1' |
3975 echores "yes (using alsa 1.0.x and alsa/asoundlib.h)" | 3972 echores "yes (using alsa 1.0.x and alsa/asoundlib.h)" |
3976 fi | 3973 fi |
3977 _ld_alsa="-lasound $_ld_dl $_ld_pthread" | 3974 _ld_alsa="-lasound $_ld_dl $_ld_pthread" |
3978 else | 3975 else |
6248 $_def_ossaudio | 6245 $_def_ossaudio |
6249 $_def_ossaudio_devdsp | 6246 $_def_ossaudio_devdsp |
6250 $_def_ossaudio_devmixer | 6247 $_def_ossaudio_devmixer |
6251 $_def_alsa5 | 6248 $_def_alsa5 |
6252 $_def_alsa9 | 6249 $_def_alsa9 |
6250 $_def_alsa1x | |
6253 $_def_arts | 6251 $_def_arts |
6254 $_def_esd | 6252 $_def_esd |
6255 $_def_esd_latency | 6253 $_def_esd_latency |
6256 $_def_sys_asoundlib_h | 6254 $_def_sys_asoundlib_h |
6257 $_def_alsa_asoundlib_h | 6255 $_def_alsa_asoundlib_h |