audio: Make sure the disk and dummy targets are the last ones we try to init.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 26 Feb 2017 00:10:02 -0500
changeset 109126aca05df632b
parent 10911 1863707d9df8
child 10913 a02b673351cc
audio: Make sure the disk and dummy targets are the last ones we try to init.
src/audio/SDL_audio.c
     1.1 --- a/src/audio/SDL_audio.c	Sat Feb 25 21:23:12 2017 -0500
     1.2 +++ b/src/audio/SDL_audio.c	Sun Feb 26 00:10:02 2017 -0500
     1.3 @@ -89,12 +89,6 @@
     1.4  #if SDL_AUDIO_DRIVER_COREAUDIO
     1.5      &COREAUDIO_bootstrap,
     1.6  #endif
     1.7 -#if SDL_AUDIO_DRIVER_DISK
     1.8 -    &DISKAUDIO_bootstrap,
     1.9 -#endif
    1.10 -#if SDL_AUDIO_DRIVER_DUMMY
    1.11 -    &DUMMYAUDIO_bootstrap,
    1.12 -#endif
    1.13  #if SDL_AUDIO_DRIVER_FUSIONSOUND
    1.14      &FUSIONSOUND_bootstrap,
    1.15  #endif
    1.16 @@ -107,6 +101,12 @@
    1.17  #if SDL_AUDIO_DRIVER_EMSCRIPTEN
    1.18      &EMSCRIPTENAUDIO_bootstrap,
    1.19  #endif
    1.20 +#if SDL_AUDIO_DRIVER_DISK
    1.21 +    &DISKAUDIO_bootstrap,
    1.22 +#endif
    1.23 +#if SDL_AUDIO_DRIVER_DUMMY
    1.24 +    &DUMMYAUDIO_bootstrap,
    1.25 +#endif
    1.26      NULL
    1.27  };
    1.28