Mercurial > sdl-ios-xcode
changeset 4301:5007e6a66814 SDL-1.2
Debian patch: 209_alsa_priority.diff
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Oct 2009 09:07:51 +0000 |
parents | 602642738b83 |
children | 9c47984430f0 |
files | src/audio/SDL_audio.c src/audio/SDL_sysaudio.h |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audio/SDL_audio.c Sat Oct 10 09:03:08 2009 +0000 +++ b/src/audio/SDL_audio.c Sat Oct 10 09:07:51 2009 +0000 @@ -39,13 +39,13 @@ #if SDL_AUDIO_DRIVER_BSD &BSD_AUDIO_bootstrap, #endif +#if SDL_AUDIO_DRIVER_ALSA + &ALSA_bootstrap, +#endif #if SDL_AUDIO_DRIVER_OSS &DSP_bootstrap, &DMA_bootstrap, #endif -#if SDL_AUDIO_DRIVER_ALSA - &ALSA_bootstrap, -#endif #if SDL_AUDIO_DRIVER_PULSE &PULSE_bootstrap, #endif
--- a/src/audio/SDL_sysaudio.h Sat Oct 10 09:03:08 2009 +0000 +++ b/src/audio/SDL_sysaudio.h Sat Oct 10 09:07:51 2009 +0000 @@ -106,13 +106,13 @@ #if SDL_AUDIO_DRIVER_PULSE extern AudioBootStrap PULSE_bootstrap; #endif +#if SDL_AUDIO_DRIVER_ALSA +extern AudioBootStrap ALSA_bootstrap; +#endif #if SDL_AUDIO_DRIVER_OSS extern AudioBootStrap DSP_bootstrap; extern AudioBootStrap DMA_bootstrap; #endif -#if SDL_AUDIO_DRIVER_ALSA -extern AudioBootStrap ALSA_bootstrap; -#endif #if SDL_AUDIO_DRIVER_QNXNTO extern AudioBootStrap QNXNTOAUDIO_bootstrap; #endif