Mercurial > sdl-ios-xcode
comparison src/audio/windx5/SDL_dx5audio.h @ 1701:442248d4e738 SDL-1.3
Merged DirectSound dropout fix from SDL 1.2
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 23 Jun 2006 08:48:24 +0000 |
parents | 782fd950bd46 |
children |
comparison
equal
deleted
inserted
replaced
1700:21184e1d04c3 | 1701:442248d4e738 |
---|---|
36 { | 36 { |
37 LPDIRECTSOUND sound; | 37 LPDIRECTSOUND sound; |
38 LPDIRECTSOUNDBUFFER mixbuf; | 38 LPDIRECTSOUNDBUFFER mixbuf; |
39 int NUM_BUFFERS; | 39 int NUM_BUFFERS; |
40 int mixlen, silence; | 40 int mixlen, silence; |
41 DWORD playing; | 41 DWORD lastchunk; |
42 Uint8 *locked_buf; | 42 Uint8 *locked_buf; |
43 HANDLE audio_event; | 43 HANDLE audio_event; |
44 }; | 44 }; |
45 | 45 |
46 /* Old variable names */ | 46 /* Old variable names */ |
47 #define sound (this->hidden->sound) | 47 #define sound (this->hidden->sound) |
48 #define mixbuf (this->hidden->mixbuf) | 48 #define mixbuf (this->hidden->mixbuf) |
49 #define NUM_BUFFERS (this->hidden->NUM_BUFFERS) | 49 #define NUM_BUFFERS (this->hidden->NUM_BUFFERS) |
50 #define mixlen (this->hidden->mixlen) | 50 #define mixlen (this->hidden->mixlen) |
51 #define silence (this->hidden->silence) | 51 #define silence (this->hidden->silence) |
52 #define playing (this->hidden->playing) | 52 #define lastchunk (this->hidden->lastchunk) |
53 #define locked_buf (this->hidden->locked_buf) | 53 #define locked_buf (this->hidden->locked_buf) |
54 #define audio_event (this->hidden->audio_event) | 54 #define audio_event (this->hidden->audio_event) |
55 | 55 |
56 #endif /* _SDL_lowaudio_h */ | 56 #endif /* _SDL_lowaudio_h */ |
57 | |
57 /* vi: set ts=4 sw=4 expandtab: */ | 58 /* vi: set ts=4 sw=4 expandtab: */ |