Mercurial > sdl-ios-xcode
comparison src/audio/alsa/SDL_alsa_audio.h @ 4292:464126f4c7db SDL-1.2
Moved to stable ALSA API.
This cleans up a few problems with our use of the ancient ALSA 0.9 API.
This means we can ditch the dlvsym() nonsense and use SDL_LoadFunction(), too.
Fixes Bugzilla #745.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 10 Oct 2009 07:33:18 +0000 |
parents | a1b03ba2fcd0 |
children | 4b582c04ec1d |
comparison
equal
deleted
inserted
replaced
4291:6cc2b35ac610 | 4292:464126f4c7db |
---|---|
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | 23 |
24 #ifndef _ALSA_PCM_audio_h | 24 #ifndef _ALSA_PCM_audio_h |
25 #define _ALSA_PCM_audio_h | 25 #define _ALSA_PCM_audio_h |
26 | 26 |
27 #define ALSA_PCM_OLD_HW_PARAMS_API | |
28 #define ALSA_PCM_OLD_SW_PARAMS_API | |
29 #include <alsa/asoundlib.h> | 27 #include <alsa/asoundlib.h> |
30 | 28 |
31 #include "../SDL_sysaudio.h" | 29 #include "../SDL_sysaudio.h" |
32 | 30 |
33 /* Hidden "this" pointer for the video functions */ | 31 /* Hidden "this" pointer for the video functions */ |