changeset 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 2d77a732bd20
files src/audio/macosx/SDL_coreaudio.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;
 }