comparison src/audio/SDL_audio.c @ 2680:4135aa9c5645 gsoc2008_nds

More work on the accelerated 2D video driver, beginnings of sprite-based rendering support. Also some initial work on an audio driver.
author Darren Alton <dalton@stevens.edu>
date Sat, 19 Jul 2008 17:37:19 +0000
parents aedfcdeb69b6
children e1da92da346c
comparison
equal deleted inserted replaced
2679:bc3e3e889f6d 2680:4135aa9c5645
68 extern AudioBootStrap DISKAUD_bootstrap; 68 extern AudioBootStrap DISKAUD_bootstrap;
69 extern AudioBootStrap DUMMYAUD_bootstrap; 69 extern AudioBootStrap DUMMYAUD_bootstrap;
70 extern AudioBootStrap DCAUD_bootstrap; 70 extern AudioBootStrap DCAUD_bootstrap;
71 extern AudioBootStrap MMEAUDIO_bootstrap; 71 extern AudioBootStrap MMEAUDIO_bootstrap;
72 extern AudioBootStrap DART_bootstrap; 72 extern AudioBootStrap DART_bootstrap;
73 extern AudioBootStrap NDSAUD_bootstrap;
73 74
74 75
75 /* Available audio drivers */ 76 /* Available audio drivers */
76 static AudioBootStrap *bootstrap[] = { 77 static AudioBootStrap *bootstrap[] = {
77 #if SDL_AUDIO_DRIVER_BSD 78 #if SDL_AUDIO_DRIVER_BSD
142 #if SDL_AUDIO_DRIVER_MMEAUDIO 143 #if SDL_AUDIO_DRIVER_MMEAUDIO
143 &MMEAUDIO_bootstrap, 144 &MMEAUDIO_bootstrap,
144 #endif 145 #endif
145 #if SDL_AUDIO_DRIVER_DART 146 #if SDL_AUDIO_DRIVER_DART
146 &DART_bootstrap, 147 &DART_bootstrap,
148 #endif
149 #if SDL_AUDIO_DRIVER_NDS
150 &NDSAUD_bootstrap,
147 #endif 151 #endif
148 NULL 152 NULL
149 }; 153 };
150 154
151 static SDL_AudioDevice * 155 static SDL_AudioDevice *