changeset 1007:e2de3386725f

fixed HAVE_ALSA5 var. bug. sorry :(
author pontscho
date Mon, 04 Jun 2001 18:42:31 +0000
parents d7c34da0b28f
children 1b6e183b8a87
files libao2/audio_out.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/audio_out.c	Mon Jun 04 18:41:34 2001 +0000
+++ b/libao2/audio_out.c	Mon Jun 04 18:42:31 2001 +0000
@@ -18,8 +18,10 @@
 extern ao_functions_t audio_out_oss;
 //extern ao_functions_t audio_out_ossold;
 extern ao_functions_t audio_out_null;
-extern ao_functions_t audio_out_alsa5;
-extern ao_functions_t audio_out_alsa9;
+#ifdef HAVE_ALSA5
+ extern ao_functions_t audio_out_alsa5;
+#endif
+//extern ao_functions_t audio_out_alsa9;
 extern ao_functions_t audio_out_esd;
 #ifdef HAVE_SDL
 extern ao_functions_t audio_out_sdl;
@@ -29,7 +31,9 @@
 {
         &audio_out_oss,
         &audio_out_null,
+#ifdef HAVE_ALSA5
 	&audio_out_alsa5,
+#endif
 //	&audio_out_alsa9,
 //	&audio_out_esd,
 #ifdef HAVE_SDL