diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-07-11 03:11:51 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-07-11 03:11:51 +0000 |
commit | d9ec2b8d067a3011f85b9c493d0ed5439086c33d (patch) | |
tree | 3a0349a0ac25eceb3a823b9b7bfe6e959b59a8d3 | |
parent | 701b7d8dd523f77ae633ba46a9797ba491b9267d (diff) | |
download | xine-lib-d9ec2b8d067a3011f85b9c493d0ed5439086c33d.tar.gz xine-lib-d9ec2b8d067a3011f85b9c493d0ed5439086c33d.tar.bz2 |
Complete cleanup using pkg-config: no need to look for alsa/ or sys/, just include asoundlib.h.
CVS patchset: 8108
CVS date: 2006/07/11 03:11:51
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index f7bd82311..2893b2c40 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -26,7 +26,7 @@ * (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk> * * - * $Id: audio_alsa_out.c,v 1.161 2006/07/10 22:08:12 dgp85 Exp $ + * $Id: audio_alsa_out.c,v 1.162 2006/07/11 03:11:51 dgp85 Exp $ */ #ifdef HAVE_CONFIG_H @@ -45,13 +45,7 @@ #define ALSA_PCM_NEW_HW_PARAMS_API #define ALSA_PCM_NEW_SW_PARAMS_API -#ifdef HAVE_ALSA_ASOUNDLIB_H -#include <alsa/asoundlib.h> -#elif HAVE_SYS_ASOUNDLIB_H -#include <sys/asoundlib.h> -#else -#error "required asoundlib.h neither in sys/ nor alsa/ - unable to compile." -#endif +#include <asoundlib.h> #include <sys/ioctl.h> #include <inttypes.h> |