mirror of https://github.com/encounter/SDL.git
audio: Make sure the disk and dummy targets are the last ones we try to init.
This commit is contained in:
parent
e07e446a3f
commit
5728cb2025
|
@ -89,12 +89,6 @@ static const AudioBootStrap *const bootstrap[] = {
|
||||||
#if SDL_AUDIO_DRIVER_COREAUDIO
|
#if SDL_AUDIO_DRIVER_COREAUDIO
|
||||||
&COREAUDIO_bootstrap,
|
&COREAUDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_DISK
|
|
||||||
&DISKAUDIO_bootstrap,
|
|
||||||
#endif
|
|
||||||
#if SDL_AUDIO_DRIVER_DUMMY
|
|
||||||
&DUMMYAUDIO_bootstrap,
|
|
||||||
#endif
|
|
||||||
#if SDL_AUDIO_DRIVER_FUSIONSOUND
|
#if SDL_AUDIO_DRIVER_FUSIONSOUND
|
||||||
&FUSIONSOUND_bootstrap,
|
&FUSIONSOUND_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
|
@ -106,6 +100,12 @@ static const AudioBootStrap *const bootstrap[] = {
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_EMSCRIPTEN
|
#if SDL_AUDIO_DRIVER_EMSCRIPTEN
|
||||||
&EMSCRIPTENAUDIO_bootstrap,
|
&EMSCRIPTENAUDIO_bootstrap,
|
||||||
|
#endif
|
||||||
|
#if SDL_AUDIO_DRIVER_DISK
|
||||||
|
&DISKAUDIO_bootstrap,
|
||||||
|
#endif
|
||||||
|
#if SDL_AUDIO_DRIVER_DUMMY
|
||||||
|
&DUMMYAUDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue