diff libao2/audio_out.c @ 27387:eb7bdbd98210

Rename some audio-output-related preprocessor directives. Switch them from a HAVE_ prefix to a CONFIG_ prefix.
author diego
date Tue, 05 Aug 2008 16:32:47 +0000
parents 14c5017f40d2
children ac03760f7fcc
line wrap: on
line diff
--- a/libao2/audio_out.c	Tue Aug 05 08:51:17 2008 +0000
+++ b/libao2/audio_out.c	Tue Aug 05 16:32:47 2008 +0000
@@ -39,10 +39,10 @@
 const ao_functions_t* const audio_out_drivers[] =
 {
 // native:
-#ifdef HAVE_DIRECTX
+#ifdef CONFIG_DIRECTX
         &audio_out_dsound,
 #endif
-#ifdef HAVE_WIN32WAVEOUT
+#ifdef CONFIG_WIN32WAVEOUT
         &audio_out_win32,
 #endif
 #ifdef HAVE_COREAUDIO
@@ -51,10 +51,10 @@
 #ifdef CONFIG_OSS_AUDIO
         &audio_out_oss,
 #endif
-#if defined (HAVE_ALSA1X) || defined (HAVE_ALSA9)
+#if defined (CONFIG_ALSA1X) || defined (CONFIG_ALSA9)
         &audio_out_alsa,
 #endif
-#ifdef HAVE_ALSA5
+#ifdef CONFIG_ALSA5
         &audio_out_alsa5,
 #endif
 #ifdef CONFIG_SGI_AUDIO
@@ -76,7 +76,7 @@
 #ifdef CONFIG_JACK
         &audio_out_jack,
 #endif
-#ifdef HAVE_NAS
+#ifdef CONFIG_NAS
         &audio_out_nas,
 #endif
 #ifdef CONFIG_SDL