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__ */