comparison 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
comparison
equal deleted inserted replaced
3784:37c9c4590689 3785:da2ea0694d11
29 /* Hidden "this" pointer for the video functions */ 29 /* Hidden "this" pointer for the video functions */
30 #define _THIS SDL_AudioDevice *this 30 #define _THIS SDL_AudioDevice *this
31 31
32 struct SDL_PrivateAudioData 32 struct SDL_PrivateAudioData
33 { 33 {
34 AudioUnit outputAudioUnit; 34 AudioUnit audioUnit;
35 void *buffer; 35 void *buffer;
36 UInt32 bufferOffset; 36 UInt32 bufferOffset;
37 UInt32 bufferSize; 37 UInt32 bufferSize;
38 AudioDeviceID deviceID;
39 int isCapture;
38 }; 40 };
39 41
40 #endif /* _SDL_coreaudio_h */ 42 #endif /* _SDL_coreaudio_h */
41 /* vi: set ts=4 sw=4 expandtab: */ 43 /* vi: set ts=4 sw=4 expandtab: */