Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3819:b225d9820ee3 | 3820:1f156fd874fa |
---|---|
307 impl->OpenDevice = SNDMGR_OpenDevice; | 307 impl->OpenDevice = SNDMGR_OpenDevice; |
308 impl->CloseDevice = SNDMGR_CloseDevice; | 308 impl->CloseDevice = SNDMGR_CloseDevice; |
309 impl->ProvidesOwnCallbackThread = 1; | 309 impl->ProvidesOwnCallbackThread = 1; |
310 impl->OnlyHasDefaultOutputDevice = 1; | 310 impl->OnlyHasDefaultOutputDevice = 1; |
311 | 311 |
312 #ifndef __MACOSX__ /* Mac OS X uses threaded audio, so normal thread code is okay */ | 312 /* Mac OS X uses threaded audio, so normal thread code is okay */ |
313 #ifndef __MACOSX__ | |
313 impl->LockDevice = SNDMGR_LockDevice; | 314 impl->LockDevice = SNDMGR_LockDevice; |
314 impl->UnlockDevice = SNDMGR_UnlockDevice; | 315 impl->UnlockDevice = SNDMGR_UnlockDevice; |
316 impl->SkipMixerLock = 1; | |
315 #endif | 317 #endif |
316 | 318 |
317 return 1; | 319 return 1; |
318 } | 320 } |
319 | 321 |