diff src/audio/macosx/SDL_coreaudio.c @ 936:84f930aebaeb

CoreAudio driver works on Mac OSX 10.1
author Sam Lantinga <slouken@libsdl.org>
date Sat, 21 Aug 2004 03:21:44 +0000
parents f8d5ddc7aef1
children c9b51268668f
line wrap: on
line diff
--- a/src/audio/macosx/SDL_coreaudio.c	Sat Aug 21 02:06:30 2004 +0000
+++ b/src/audio/macosx/SDL_coreaudio.c	Sat Aug 21 03:21:44 2004 +0000
@@ -165,7 +165,7 @@
 void Core_CloseAudio(_THIS)
 {
     OSStatus result;
-    AudioUnitInputCallback callback;
+    struct AudioUnitInputCallback callback;
 
     /* stop processing the audio unit */
     result = AudioOutputUnitStop (outputAudioUnit);
@@ -209,7 +209,7 @@
     OSStatus result = noErr;
     Component comp;
     ComponentDescription desc;
-    AudioUnitInputCallback callback;
+    struct AudioUnitInputCallback callback;
     AudioStreamBasicDescription requestedDesc;
 
     /* Setup a AudioStreamBasicDescription with the requested format */