comparison src/audio/windx5/SDL_dx5audio.h @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents 9b02a5b97f79
children 5f6550e5184f 9dc81c6acaf5
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
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 lastchunk; 40 int mixlen, silence;
41 Uint8 *locked_buf; 41 DWORD lastchunk;
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 lastchunk (this->hidden->lastchunk) 52 #define lastchunk (this->hidden->lastchunk)
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
58 /* vi: set ts=4 sw=4 expandtab: */