diff src/audio/macosx/SDL_coreaudio.h @ 3785:da2ea0694d11 SDL-ryan-multiple-audio-device

Ton of work on CoreAudio driver for new 1.3 features...most of the multi-device support is wired up, and the starts of capture support, too. All is still subject to change, and what's there is still a little flakey.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 03 Oct 2006 05:58:44 +0000
parents 37c9c4590689
children b19680c84cdf
line wrap: on
line diff
--- a/src/audio/macosx/SDL_coreaudio.h	Sun Oct 01 05:24:03 2006 +0000
+++ b/src/audio/macosx/SDL_coreaudio.h	Tue Oct 03 05:58:44 2006 +0000
@@ -31,10 +31,12 @@
 
 struct SDL_PrivateAudioData
 {
-    AudioUnit outputAudioUnit;
+    AudioUnit audioUnit;
     void *buffer;
     UInt32 bufferOffset;
     UInt32 bufferSize;
+    AudioDeviceID deviceID;
+    int isCapture;
 };
 
 #endif /* _SDL_coreaudio_h */