native_midi/native_midi_mac.c
changeset 718 fb0562cc1559
parent 625 1d489d8ec2e0
child 779 a2b494c054d5
     1.1 --- a/native_midi/native_midi_mac.c	Tue Jan 12 05:56:16 2016 -0800
     1.2 +++ b/native_midi/native_midi_mac.c	Fri Jan 29 12:44:13 2016 -0800
     1.3 @@ -20,6 +20,7 @@
     1.4  */
     1.5  #include "SDL_config.h"
     1.6  #include "SDL_endian.h"
     1.7 +#include "../mixer.h"
     1.8  
     1.9  #if __MACOS__ /*|| __MACOSX__ */
    1.10  
    1.11 @@ -187,7 +188,7 @@
    1.12      assert (loops == 0);
    1.13  
    1.14      SDL_PauseAudio(1);
    1.15 -    SDL_UnlockAudio();
    1.16 +    Mix_UnlockAudio();
    1.17  
    1.18      /* First, stop the currently playing music */
    1.19      native_midi_stop();
    1.20 @@ -237,7 +238,7 @@
    1.21      }
    1.22  
    1.23  done:
    1.24 -    SDL_LockAudio();
    1.25 +    Mix_LockAudio();
    1.26      SDL_PauseAudio(0);
    1.27  }
    1.28