src/audio/SDL_audio.c
changeset 9278 8900afb78a19
parent 9148 e9b6e9f4a10e
child 9381 812b2dabf8a4
equal deleted inserted replaced
9277:f0bd40782fc7 9278:8900afb78a19
    69 extern AudioBootStrap NDSAUD_bootstrap;
    69 extern AudioBootStrap NDSAUD_bootstrap;
    70 extern AudioBootStrap FUSIONSOUND_bootstrap;
    70 extern AudioBootStrap FUSIONSOUND_bootstrap;
    71 extern AudioBootStrap ANDROIDAUD_bootstrap;
    71 extern AudioBootStrap ANDROIDAUD_bootstrap;
    72 extern AudioBootStrap PSPAUD_bootstrap;
    72 extern AudioBootStrap PSPAUD_bootstrap;
    73 extern AudioBootStrap SNDIO_bootstrap;
    73 extern AudioBootStrap SNDIO_bootstrap;
       
    74 extern AudioBootStrap EmscriptenAudio_bootstrap;
    74 
    75 
    75 
    76 
    76 /* Available audio drivers */
    77 /* Available audio drivers */
    77 static const AudioBootStrap *const bootstrap[] = {
    78 static const AudioBootStrap *const bootstrap[] = {
    78 #if SDL_AUDIO_DRIVER_PULSEAUDIO
    79 #if SDL_AUDIO_DRIVER_PULSEAUDIO
   138 #if SDL_AUDIO_DRIVER_ANDROID
   139 #if SDL_AUDIO_DRIVER_ANDROID
   139     &ANDROIDAUD_bootstrap,
   140     &ANDROIDAUD_bootstrap,
   140 #endif
   141 #endif
   141 #if SDL_AUDIO_DRIVER_PSP
   142 #if SDL_AUDIO_DRIVER_PSP
   142     &PSPAUD_bootstrap,
   143     &PSPAUD_bootstrap,
       
   144 #endif
       
   145 #if SDL_AUDIO_DRIVER_EMSCRIPTEN
       
   146     &EmscriptenAudio_bootstrap,
   143 #endif
   147 #endif
   144     NULL
   148     NULL
   145 };
   149 };
   146 
   150 
   147 static SDL_AudioDevice *
   151 static SDL_AudioDevice *