Merged Paul's Google Summer of Code work from SDL-gsoc2010_android

This commit is contained in:
Sam Lantinga 2010-08-22 12:23:55 -07:00
commit a64fc29cfb
38 changed files with 2743 additions and 7 deletions

View file

@ -69,6 +69,7 @@ extern AudioBootStrap MMEAUDIO_bootstrap;
extern AudioBootStrap DART_bootstrap;
extern AudioBootStrap NDSAUD_bootstrap;
extern AudioBootStrap FUSIONSOUND_bootstrap;
extern AudioBootStrap ANDROIDAUD_bootstrap;
/* Available audio drivers */
@ -136,6 +137,9 @@ static const AudioBootStrap *const bootstrap[] = {
#endif
#if SDL_AUDIO_DRIVER_FUSIONSOUND
&FUSIONSOUND_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_ANDROID
&ANDROIDAUD_bootstrap,
#endif
NULL
};
@ -318,6 +322,8 @@ SDL_StreamDeinit(SDL_AudioStreamer * stream)
}
#include <android/log.h>
/* The general mixing thread function */
int SDLCALL
SDL_RunAudio(void *devicep)