Mercurial > sdl-ios-xcode
comparison src/audio/macosx/SDL_coreaudio.c @ 3799:f424927138ff SDL-ryan-multiple-audio-device
Fixed CoreAudio specific device open.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 04 Oct 2006 21:39:33 +0000 |
parents | c8b3d3d13ed1 |
children | 1485d42cf1a0 |
comparison
equal
deleted
inserted
replaced
3798:c8b3d3d13ed1 | 3799:f424927138ff |
---|---|
229 impl->GetDeviceName = COREAUDIO_GetDeviceName; | 229 impl->GetDeviceName = COREAUDIO_GetDeviceName; |
230 impl->OpenDevice = COREAUDIO_OpenDevice; | 230 impl->OpenDevice = COREAUDIO_OpenDevice; |
231 impl->CloseDevice = COREAUDIO_CloseDevice; | 231 impl->CloseDevice = COREAUDIO_CloseDevice; |
232 impl->Deinitialize = COREAUDIO_Deinitialize; | 232 impl->Deinitialize = COREAUDIO_Deinitialize; |
233 impl->ProvidesOwnCallbackThread = 1; | 233 impl->ProvidesOwnCallbackThread = 1; |
234 | |
235 build_device_lists(); /* do an initial check for devices... */ | |
236 | |
234 return 1; | 237 return 1; |
235 } | 238 } |
236 | 239 |
237 AudioBootStrap COREAUDIO_bootstrap = { | 240 AudioBootStrap COREAUDIO_bootstrap = { |
238 "coreaudio", "Mac OS X CoreAudio", | 241 "coreaudio", "Mac OS X CoreAudio", |