Mercurial > sdl-ios-xcode
comparison src/audio/nas/SDL_nasaudio.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | d910939febfa |
children | 5f6550e5184f 9dc81c6acaf5 |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
38 #include "../SDL_sysaudio.h" | 38 #include "../SDL_sysaudio.h" |
39 | 39 |
40 /* Hidden "this" pointer for the video functions */ | 40 /* Hidden "this" pointer for the video functions */ |
41 #define _THIS SDL_AudioDevice *this | 41 #define _THIS SDL_AudioDevice *this |
42 | 42 |
43 struct SDL_PrivateAudioData { | 43 struct SDL_PrivateAudioData |
44 AuServer* aud; | 44 { |
45 AuFlowID flow; | 45 AuServer *aud; |
46 AuDeviceID dev; | 46 AuFlowID flow; |
47 | 47 AuDeviceID dev; |
48 /* The parent process id, to detect when application quits */ | |
49 pid_t parent; | |
50 | 48 |
51 /* Raw mixing buffer */ | 49 /* The parent process id, to detect when application quits */ |
52 Uint8 *mixbuf; | 50 pid_t parent; |
53 int mixlen; | |
54 | 51 |
55 int written; | 52 /* Raw mixing buffer */ |
56 int really; | 53 Uint8 *mixbuf; |
57 int bps; | 54 int mixlen; |
58 struct timeval last_tv; | 55 |
59 int buf_free; | 56 int written; |
57 int really; | |
58 int bps; | |
59 struct timeval last_tv; | |
60 int buf_free; | |
60 }; | 61 }; |
61 #endif /* _SDL_nasaudio_h */ | 62 #endif /* _SDL_nasaudio_h */ |
62 | 63 /* vi: set ts=4 sw=4 expandtab: */ |