comparison src/audio/SDL_audio.c @ 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
38 #include "SDL_audiomem.h" 38 #include "SDL_audiomem.h"
39 #include "SDL_sysaudio.h" 39 #include "SDL_sysaudio.h"
40 40
41 /* Available audio drivers */ 41 /* Available audio drivers */
42 static AudioBootStrap *bootstrap[] = { 42 static AudioBootStrap *bootstrap[] = {
43 #if defined(unix) && \
44 !defined(linux) && !defined(__FreeBSD__) && !defined(__CYGWIN32__) \
45 && !defined(__bsdi__)
46 &AUDIO_bootstrap,
47 #endif
48 #ifdef OSS_SUPPORT 43 #ifdef OSS_SUPPORT
49 &DSP_bootstrap, 44 &DSP_bootstrap,
50 &DMA_bootstrap, 45 &DMA_bootstrap,
51 #endif 46 #endif
52 #ifdef ALSA_SUPPORT 47 #ifdef ALSA_SUPPORT
53 &ALSA_bootstrap, 48 &ALSA_bootstrap,
49 #endif
50 #if (defined(unix) && !defined(__CYGWIN32__)) && \
51 !defined(OSS_SUPPORT) && !defined(ALSA_SUPPORT)
52 &AUDIO_bootstrap,
54 #endif 53 #endif
55 #ifdef ARTSC_SUPPORT 54 #ifdef ARTSC_SUPPORT
56 &ARTSC_bootstrap, 55 &ARTSC_bootstrap,
57 #endif 56 #endif
58 #ifdef ESD_SUPPORT 57 #ifdef ESD_SUPPORT