Mercurial > sdl-ios-xcode
comparison src/audio/SDL_audio.c @ 2939:084e5b4fc5be
Audio driver priority: favor PulseAudio and ALSA over OSS.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 01 Jan 2009 07:58:20 +0000 |
parents | 2929ed239d2a |
children | 1e431c2631ee |
comparison
equal
deleted
inserted
replaced
2938:2929ed239d2a | 2939:084e5b4fc5be |
---|---|
77 /* Available audio drivers */ | 77 /* Available audio drivers */ |
78 static AudioBootStrap *bootstrap[] = { | 78 static AudioBootStrap *bootstrap[] = { |
79 #if SDL_AUDIO_DRIVER_BSD | 79 #if SDL_AUDIO_DRIVER_BSD |
80 &BSD_AUDIO_bootstrap, | 80 &BSD_AUDIO_bootstrap, |
81 #endif | 81 #endif |
82 #if SDL_AUDIO_DRIVER_PULSEAUDIO | |
83 &PULSEAUDIO_bootstrap, | |
84 #endif | |
85 #if SDL_AUDIO_DRIVER_ALSA | |
86 &ALSA_bootstrap, | |
87 #endif | |
82 #if SDL_AUDIO_DRIVER_OSS | 88 #if SDL_AUDIO_DRIVER_OSS |
83 &DSP_bootstrap, | 89 &DSP_bootstrap, |
84 &DMA_bootstrap, | 90 &DMA_bootstrap, |
85 #endif | |
86 #if SDL_AUDIO_DRIVER_ALSA | |
87 &ALSA_bootstrap, | |
88 #endif | |
89 #if SDL_AUDIO_DRIVER_PULSEAUDIO | |
90 &PULSEAUDIO_bootstrap, | |
91 #endif | 91 #endif |
92 #if SDL_AUDIO_DRIVER_QNXNTO | 92 #if SDL_AUDIO_DRIVER_QNXNTO |
93 &QNXNTOAUDIO_bootstrap, | 93 &QNXNTOAUDIO_bootstrap, |
94 #endif | 94 #endif |
95 #if SDL_AUDIO_DRIVER_SUNAUDIO | 95 #if SDL_AUDIO_DRIVER_SUNAUDIO |