comparison src/audio/SDL_sysaudio.h @ 35:d3bc792e136d

Added detection of Open Sound System on Solaris x86
author Sam Lantinga <slouken@lokigames.com>
date Wed, 23 May 2001 00:36:17 +0000
parents 75a95f82bc1f
children 3ad7157c6cfa
comparison
equal deleted inserted replaced
34:27cb016592f9 35:d3bc792e136d
97 const char *desc; 97 const char *desc;
98 int (*available)(void); 98 int (*available)(void);
99 SDL_AudioDevice *(*create)(int devindex); 99 SDL_AudioDevice *(*create)(int devindex);
100 } AudioBootStrap; 100 } AudioBootStrap;
101 101
102 #if defined(unix) && \
103 !defined(linux) && !defined(__FreeBSD__) && !defined(__CYGWIN32__) \
104 && !defined(__bsdi__)
105 extern AudioBootStrap AUDIO_bootstrap;
106 #endif
107 #ifdef OSS_SUPPORT 102 #ifdef OSS_SUPPORT
108 extern AudioBootStrap DSP_bootstrap; 103 extern AudioBootStrap DSP_bootstrap;
109 extern AudioBootStrap DMA_bootstrap; 104 extern AudioBootStrap DMA_bootstrap;
110 #endif 105 #endif
111 #ifdef ALSA_SUPPORT 106 #ifdef ALSA_SUPPORT
112 extern AudioBootStrap ALSA_bootstrap; 107 extern AudioBootStrap ALSA_bootstrap;
108 #endif
109 #if (defined(unix) && !defined(__CYGWIN32__)) && \
110 !defined(OSS_SUPPORT) && !defined(ALSA_SUPPORT)
111 extern AudioBootStrap AUDIO_bootstrap;
113 #endif 112 #endif
114 #ifdef ARTSC_SUPPORT 113 #ifdef ARTSC_SUPPORT
115 extern AudioBootStrap ARTSC_bootstrap; 114 extern AudioBootStrap ARTSC_bootstrap;
116 #endif 115 #endif
117 #ifdef ESD_SUPPORT 116 #ifdef ESD_SUPPORT