comparison src/audio/SDL_audio.c @ 4718:79aa6c61f33b

Added stub android sound system
author Paul Hunkin <paul@bieh.net>
date Tue, 27 Jul 2010 11:34:43 +0200
parents 4160ba33b597
children faa228f7ce5b
comparison
equal deleted inserted replaced
4717:191f4693d0c1 4718:79aa6c61f33b
67 extern AudioBootStrap DCAUD_bootstrap; 67 extern AudioBootStrap DCAUD_bootstrap;
68 extern AudioBootStrap MMEAUDIO_bootstrap; 68 extern AudioBootStrap MMEAUDIO_bootstrap;
69 extern AudioBootStrap DART_bootstrap; 69 extern AudioBootStrap DART_bootstrap;
70 extern AudioBootStrap NDSAUD_bootstrap; 70 extern AudioBootStrap NDSAUD_bootstrap;
71 extern AudioBootStrap FUSIONSOUND_bootstrap; 71 extern AudioBootStrap FUSIONSOUND_bootstrap;
72 extern AudioBootStrap ANDROIDAUD_bootstrap;
72 73
73 74
74 /* Available audio drivers */ 75 /* Available audio drivers */
75 static const AudioBootStrap *const bootstrap[] = { 76 static const AudioBootStrap *const bootstrap[] = {
76 #if SDL_AUDIO_DRIVER_BSD 77 #if SDL_AUDIO_DRIVER_BSD
134 #if SDL_AUDIO_DRIVER_NDS 135 #if SDL_AUDIO_DRIVER_NDS
135 &NDSAUD_bootstrap, 136 &NDSAUD_bootstrap,
136 #endif 137 #endif
137 #if SDL_AUDIO_DRIVER_FUSIONSOUND 138 #if SDL_AUDIO_DRIVER_FUSIONSOUND
138 &FUSIONSOUND_bootstrap, 139 &FUSIONSOUND_bootstrap,
140 #endif
141 #if SDL_AUDIO_DRIVER_ANDROID
142 &ANDROIDAUD_bootstrap,
139 #endif 143 #endif
140 NULL 144 NULL
141 }; 145 };
142 146
143 static SDL_AudioDevice * 147 static SDL_AudioDevice *