src/audio/emscripten/SDL_emscriptenaudio.c
changeset 10281 2a002e96888f
parent 10276 470698f90685
child 10283 1b8594db77f1
     1.1 --- a/src/audio/emscripten/SDL_emscriptenaudio.c	Thu Aug 11 22:04:49 2016 -0400
     1.2 +++ b/src/audio/emscripten/SDL_emscriptenaudio.c	Thu Aug 11 22:22:09 2016 -0400
     1.3 @@ -196,7 +196,7 @@
     1.4  
     1.5  
     1.6  static void
     1.7 -Emscripten_CloseDevice(_THIS)
     1.8 +EMSCRIPTENAUDIO_CloseDevice(_THIS)
     1.9  {
    1.10      EM_ASM_({
    1.11          if ($0) {
    1.12 @@ -233,7 +233,7 @@
    1.13  }
    1.14  
    1.15  static int
    1.16 -Emscripten_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
    1.17 +EMSCRIPTENAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
    1.18  {
    1.19      SDL_bool valid_format = SDL_FALSE;
    1.20      SDL_AudioFormat test_format;
    1.21 @@ -380,11 +380,11 @@
    1.22  }
    1.23  
    1.24  static int
    1.25 -Emscripten_Init(SDL_AudioDriverImpl * impl)
    1.26 +EMSCRIPTENAUDIO_Init(SDL_AudioDriverImpl * impl)
    1.27  {
    1.28      /* Set the function pointers */
    1.29 -    impl->OpenDevice = Emscripten_OpenDevice;
    1.30 -    impl->CloseDevice = Emscripten_CloseDevice;
    1.31 +    impl->OpenDevice = EMSCRIPTENAUDIO_OpenDevice;
    1.32 +    impl->CloseDevice = EMSCRIPTENAUDIO_CloseDevice;
    1.33  
    1.34      impl->OnlyHasDefaultOutputDevice = 1;
    1.35  
    1.36 @@ -421,8 +421,8 @@
    1.37      return available;
    1.38  }
    1.39  
    1.40 -AudioBootStrap EmscriptenAudio_bootstrap = {
    1.41 -    "emscripten", "SDL emscripten audio driver", Emscripten_Init, 0
    1.42 +AudioBootStrap EMSCRIPTENAUDIO_bootstrap = {
    1.43 +    "emscripten", "SDL emscripten audio driver", EMSCRIPTENAUDIO_Init, 0
    1.44  };
    1.45  
    1.46  #endif /* SDL_AUDIO_DRIVER_EMSCRIPTEN */