Mercurial > sdl-ios-xcode
comparison src/audio/windx5/SDL_dx5audio.h @ 3842:6b04ca2f1016 SDL-ryan-multiple-audio-device
Moved DirectSound audio target to SDL 1.3 API and did some house cleaning.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 17 Oct 2006 06:37:42 +0000 |
parents | efdfe292bd88 |
children |
comparison
equal
deleted
inserted
replaced
3841:3479f939987c | 3842:6b04ca2f1016 |
---|---|
34 /* The DirectSound objects */ | 34 /* The DirectSound objects */ |
35 struct SDL_PrivateAudioData | 35 struct SDL_PrivateAudioData |
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; |
41 DWORD lastchunk; | 41 DWORD lastchunk; |
42 Uint8 *locked_buf; | 42 Uint8 *locked_buf; |
43 HANDLE audio_event; | |
44 }; | 43 }; |
45 | |
46 /* Old variable names */ | |
47 #define sound (this->hidden->sound) | |
48 #define mixbuf (this->hidden->mixbuf) | |
49 #define NUM_BUFFERS (this->hidden->NUM_BUFFERS) | |
50 #define mixlen (this->hidden->mixlen) | |
51 #define silence (this->hidden->silence) | |
52 #define lastchunk (this->hidden->lastchunk) | |
53 #define locked_buf (this->hidden->locked_buf) | |
54 #define audio_event (this->hidden->audio_event) | |
55 | 44 |
56 #endif /* _SDL_dx5audio_h */ | 45 #endif /* _SDL_dx5audio_h */ |
57 | 46 |
58 /* vi: set ts=4 sw=4 expandtab: */ | 47 /* vi: set ts=4 sw=4 expandtab: */ |