Use the OpenSL ES audio driver by default on Android, as it has the lowest latency.
parent
02f9667a08
commit
f3e76ea1d0
|
@ -89,12 +89,12 @@ static const AudioBootStrap *const bootstrap[] = {
|
||||||
#if SDL_AUDIO_DRIVER_FUSIONSOUND
|
#if SDL_AUDIO_DRIVER_FUSIONSOUND
|
||||||
&FUSIONSOUND_bootstrap,
|
&FUSIONSOUND_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_ANDROID
|
|
||||||
&ANDROIDAUDIO_bootstrap,
|
|
||||||
#endif
|
|
||||||
#if SDL_AUDIO_DRIVER_OPENSLES
|
#if SDL_AUDIO_DRIVER_OPENSLES
|
||||||
&openslES_bootstrap,
|
&openslES_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
|
#if SDL_AUDIO_DRIVER_ANDROID
|
||||||
|
&ANDROIDAUDIO_bootstrap,
|
||||||
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_PSP
|
#if SDL_AUDIO_DRIVER_PSP
|
||||||
&PSPAUDIO_bootstrap,
|
&PSPAUDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -204,8 +204,8 @@ extern AudioBootStrap COREAUDIO_bootstrap;
|
||||||
extern AudioBootStrap DISKAUDIO_bootstrap;
|
extern AudioBootStrap DISKAUDIO_bootstrap;
|
||||||
extern AudioBootStrap DUMMYAUDIO_bootstrap;
|
extern AudioBootStrap DUMMYAUDIO_bootstrap;
|
||||||
extern AudioBootStrap FUSIONSOUND_bootstrap;
|
extern AudioBootStrap FUSIONSOUND_bootstrap;
|
||||||
extern AudioBootStrap ANDROIDAUDIO_bootstrap;
|
|
||||||
extern AudioBootStrap openslES_bootstrap;
|
extern AudioBootStrap openslES_bootstrap;
|
||||||
|
extern AudioBootStrap ANDROIDAUDIO_bootstrap;
|
||||||
extern AudioBootStrap PSPAUDIO_bootstrap;
|
extern AudioBootStrap PSPAUDIO_bootstrap;
|
||||||
extern AudioBootStrap EMSCRIPTENAUDIO_bootstrap;
|
extern AudioBootStrap EMSCRIPTENAUDIO_bootstrap;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue