comparison src/audio/windx5/SDL_dx5audio.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 442248d4e738
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
30 30
31 /* Hidden "this" pointer for the video functions */ 31 /* Hidden "this" pointer for the video functions */
32 #define _THIS SDL_AudioDevice *this 32 #define _THIS SDL_AudioDevice *this
33 33
34 /* The DirectSound objects */ 34 /* The DirectSound objects */
35 struct SDL_PrivateAudioData { 35 struct SDL_PrivateAudioData
36 LPDIRECTSOUND sound; 36 {
37 LPDIRECTSOUNDBUFFER mixbuf; 37 LPDIRECTSOUND sound;
38 int NUM_BUFFERS; 38 LPDIRECTSOUNDBUFFER mixbuf;
39 int mixlen, silence; 39 int NUM_BUFFERS;
40 DWORD playing; 40 int mixlen, silence;
41 Uint8 *locked_buf; 41 DWORD playing;
42 HANDLE audio_event; 42 Uint8 *locked_buf;
43 HANDLE audio_event;
43 }; 44 };
44 45
45 /* Old variable names */ 46 /* Old variable names */
46 #define sound (this->hidden->sound) 47 #define sound (this->hidden->sound)
47 #define mixbuf (this->hidden->mixbuf) 48 #define mixbuf (this->hidden->mixbuf)
51 #define playing (this->hidden->playing) 52 #define playing (this->hidden->playing)
52 #define locked_buf (this->hidden->locked_buf) 53 #define locked_buf (this->hidden->locked_buf)
53 #define audio_event (this->hidden->audio_event) 54 #define audio_event (this->hidden->audio_event)
54 55
55 #endif /* _SDL_lowaudio_h */ 56 #endif /* _SDL_lowaudio_h */
57 /* vi: set ts=4 sw=4 expandtab: */