Skip to content
Permalink
Browse files

audio: Make sure the disk and dummy targets are the last ones we try …

…to init.
  • Loading branch information
icculus committed Feb 26, 2017
1 parent e07e446 commit 5728cb2025bc3ab4be8d113bd68a529c9cb733ac
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/audio/SDL_audio.c
@@ -89,12 +89,6 @@ static const AudioBootStrap *const bootstrap[] = {
#if SDL_AUDIO_DRIVER_COREAUDIO
&COREAUDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_DISK
&DISKAUDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_DUMMY
&DUMMYAUDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_FUSIONSOUND
&FUSIONSOUND_bootstrap,
#endif
@@ -106,6 +100,12 @@ static const AudioBootStrap *const bootstrap[] = {
#endif
#if SDL_AUDIO_DRIVER_EMSCRIPTEN
&EMSCRIPTENAUDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_DISK
&DISKAUDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_DUMMY
&DUMMYAUDIO_bootstrap,
#endif
NULL
};

0 comments on commit 5728cb2

Please sign in to comment.