Mercurial > sdl-ios-xcode
diff src/audio/macrom/SDL_romaudio.c @ 3820:1f156fd874fa SDL-ryan-multiple-audio-device
Moved more audio drivers to 1.3 API (all 5 MiNT backends, BSD, IRIX...), and
some other tweaks in already-converted drivers.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 07 Oct 2006 05:36:36 +0000 |
parents | 9d070c1a45fa |
children | 29e83f221c62 |
line wrap: on
line diff
--- a/src/audio/macrom/SDL_romaudio.c Fri Oct 06 20:36:23 2006 +0000 +++ b/src/audio/macrom/SDL_romaudio.c Sat Oct 07 05:36:36 2006 +0000 @@ -309,9 +309,11 @@ impl->ProvidesOwnCallbackThread = 1; impl->OnlyHasDefaultOutputDevice = 1; -#ifndef __MACOSX__ /* Mac OS X uses threaded audio, so normal thread code is okay */ +/* Mac OS X uses threaded audio, so normal thread code is okay */ +#ifndef __MACOSX__ impl->LockDevice = SNDMGR_LockDevice; impl->UnlockDevice = SNDMGR_UnlockDevice; + impl->SkipMixerLock = 1; #endif return 1;