comparison src/audio/dc/SDL_dcaudio.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 543ffd71ab6d
children 5f6550e5184f
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
27 #include "../SDL_sysaudio.h" 27 #include "../SDL_sysaudio.h"
28 28
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 /* The file descriptor for the audio device */ 33 {
34 Uint8 *mixbuf; 34 /* The file descriptor for the audio device */
35 Uint32 mixlen; 35 Uint8 *mixbuf;
36 int playing; 36 Uint32 mixlen;
37 int leftpos,rightpos; 37 int playing;
38 int nextbuf; 38 int leftpos, rightpos;
39 int nextbuf;
39 }; 40 };
40 41
41 #endif /* _SDL_dcaudio_h */ 42 #endif /* _SDL_dcaudio_h */
43 /* vi: set ts=4 sw=4 expandtab: */