From 4ece190476722e52a4bd22c35671a33ff5bbc2b0 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Tue, 10 Jul 2001 23:48:33 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/audio/audio_trait.h | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/panda/src/audio/audio_trait.h b/panda/src/audio/audio_trait.h index a8448f693a..08f72196ce 100644 --- a/panda/src/audio/audio_trait.h +++ b/panda/src/audio/audio_trait.h @@ -22,6 +22,10 @@ #include #include +#if ! defined(HAVE_RAD_MSS) + #error where is rad mss? +#endif + class EXPCL_PANDA AudioTraits { public: class SoundClass; @@ -74,19 +78,4 @@ public: }; }; -// this is really ugly. But since we have to be able to include/compile -// all of the driver files on any system, I need to centralize a switch -// for which one is real. -#ifdef HAVE_SYS_SOUNDCARD_H - #define AUDIO_USE_LINUX -#elif defined(HAVE_RAD_MSS) - #define AUDIO_USE_RAD_MSS -#elif defined(WIN32_VC) - #define AUDIO_USE_WIN32 -#elif defined(HAVE_MIKMOD) - #define AUDIO_USE_MIKMOD -#else - #define AUDIO_USE_NULL -#endif - #endif /* __AUDIO_TRAIT_H__ */