Mercurial > sdl-ios-xcode
diff src/audio/SDL_audio.c @ 2735:204be4fc2726
Final merge of Google Summer of Code 2008 work...
Port SDL 1.3 to the Nintendo DS
by Darren Alton, mentored by Sam Lantinga
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 27 Aug 2008 15:10:03 +0000 |
parents | 2768bd7281e0 |
children | f55c87ae336b |
line wrap: on
line diff
--- a/src/audio/SDL_audio.c Wed Aug 27 13:37:19 2008 +0000 +++ b/src/audio/SDL_audio.c Wed Aug 27 15:10:03 2008 +0000 @@ -70,6 +70,7 @@ extern AudioBootStrap DCAUD_bootstrap; extern AudioBootStrap MMEAUDIO_bootstrap; extern AudioBootStrap DART_bootstrap; +extern AudioBootStrap NDSAUD_bootstrap; /* Available audio drivers */ @@ -145,6 +146,9 @@ #if SDL_AUDIO_DRIVER_DART &DART_bootstrap, #endif +#if SDL_AUDIO_DRIVER_NDS + &NDSAUD_bootstrap, +#endif NULL }; @@ -167,31 +171,38 @@ { return -1; } + static void SDL_AudioThreadInit_Default(_THIS) { /* no-op. */ } + static void SDL_AudioWaitDevice_Default(_THIS) { /* no-op. */ } + static void SDL_AudioPlayDevice_Default(_THIS) { /* no-op. */ } + static Uint8 * SDL_AudioGetDeviceBuf_Default(_THIS) { return NULL; } + static void SDL_AudioWaitDone_Default(_THIS) { /* no-op. */ } + static void SDL_AudioCloseDevice_Default(_THIS) { /* no-op. */ } + static void SDL_AudioDeinitialize_Default(void) { /* no-op. */