src/audio/macrom/SDL_romaudio.c
changeset 2738 79c1bd651f04
parent 2060 866052b01ee5
child 2859 99210400e8b9
equal deleted inserted replaced
2737:140a7edcf2bd 2738:79c1bd651f04
    87     }
    87     }
    88 
    88 
    89     DecrementAtomic((SInt32 *) & need_to_mix);
    89     DecrementAtomic((SInt32 *) & need_to_mix);
    90 }
    90 }
    91 
    91 
       
    92 #ifndef __MACOSX__
    92 static void
    93 static void
    93 SNDMGR_LockDevice(_THIS)
    94 SNDMGR_LockDevice(_THIS)
    94 {
    95 {
    95     IncrementAtomic((SInt32 *) & audio_is_locked);
    96     IncrementAtomic((SInt32 *) & audio_is_locked);
    96 }
    97 }
   112          *  interrupt here, but that means you locked for way too long anyhow.
   113          *  interrupt here, but that means you locked for way too long anyhow.
   113          */
   114          */
   114         mix_buffer(this, buffer[fill_me]);
   115         mix_buffer(this, buffer[fill_me]);
   115     }
   116     }
   116 }
   117 }
       
   118 #endif // __MACOSX__
   117 
   119 
   118 static void
   120 static void
   119 callBackProc(SndChannel * chan, SndCommand * cmd_passed)
   121 callBackProc(SndChannel * chan, SndCommand * cmd_passed)
   120 {
   122 {
   121     UInt32 play_me;
   123     UInt32 play_me;