comparison libao2/ao_alsa9.c @ 5855:c21948cd027d

fix for latest alsa (sys/asoundlib.h has been moved to alsa/asoundlib.h) cleanups for "usr/src/DVB/ost/include" detection small cosmetic fixes
author pl
date Sat, 27 Apr 2002 01:25:32 +0000
parents d141f1e9cc36
children d9641a4e7dbb
comparison
equal deleted inserted replaced
5854:3a961eaf45b9 5855:c21948cd027d
10 10
11 Any bugreports regarding to this driver are welcome either to the mplayer-user-mailinglist or directly to the authors. 11 Any bugreports regarding to this driver are welcome either to the mplayer-user-mailinglist or directly to the authors.
12 */ 12 */
13 13
14 #include <errno.h> 14 #include <errno.h>
15
16 #if HAVE_SYS_ASOUNDLIB_H
15 #include <sys/asoundlib.h> 17 #include <sys/asoundlib.h>
18 #elif HAVE_ALSA_ASOUNDLIB_H
19 #include <alsa/asoundlib.h>
20 #else
21 #error "asoundlib.h is not in sys/ or alsa/ - please bugreport"
22 #endif
16 23
17 #include "../config.h" 24 #include "../config.h"
18 25
19 #include "audio_out.h" 26 #include "audio_out.h"
20 #include "audio_out_internal.h" 27 #include "audio_out_internal.h"