*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40325
This commit is contained in:
Sam Lantinga 2002-03-30 21:41:01 +00:00
parent b954823429
commit ff3fb0db16
3 changed files with 8 additions and 6 deletions

View file

@ -147,7 +147,7 @@ static void Mac_UnlockAudio(_THIS)
return;
/* Did we miss the chance to mix in an interrupt? Do it now. */
if ( BitAndAtomic (0xFFFFFFFF, &need_to_mix) ) {
if ( BitAndAtomic (0xFFFFFFFF, (UInt32 *) &need_to_mix) ) {
/*
* Note that this could be a problem if you missed an interrupt
* while the audio was locked, and get preempted by a second
@ -184,7 +184,7 @@ static void callBackProc (SndChannel *chan, SndCommand *cmd_passed ) {
* if audio device isn't locked, mix the next buffer to be queued in
* the memory block that just finished playing.
*/
if ( ! BitAndAtomic(0xFFFFFFFF, &audio_is_locked) ) {
if ( ! BitAndAtomic(0xFFFFFFFF, (UInt32 *) &audio_is_locked) ) {
mix_buffer (audio, buffer[fill_me]);
}