Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/audio/macosx/SDL_coreaudio.c Wed Oct 04 21:27:53 2006 +0000 +++ b/src/audio/macosx/SDL_coreaudio.c Wed Oct 04 21:39:33 2006 +0000 @@ -231,6 +231,9 @@ impl->CloseDevice = COREAUDIO_CloseDevice; impl->Deinitialize = COREAUDIO_Deinitialize; impl->ProvidesOwnCallbackThread = 1; + + build_device_lists(); /* do an initial check for devices... */ + return 1; }