# HG changeset patch # User Ryan C. Gordon # Date 1159997973 0 # Node ID f424927138ffd9aa3f394657afa2ed1e092bdf9c # Parent c8b3d3d13ed1bf86c4030b1c107fa14fd9870cc0 Fixed CoreAudio specific device open. diff -r c8b3d3d13ed1 -r f424927138ff src/audio/macosx/SDL_coreaudio.c --- 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; }