Mercurial > sdl-ios-xcode
comparison src/audio/windib/SDL_dibaudio.h @ 3841:3479f939987c SDL-ryan-multiple-audio-device
Moved windib (waveout) audio to 1.3 API and made other cleanups.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 08 Oct 2006 23:04:24 +0000 |
parents | efdfe292bd88 |
children |
comparison
equal
deleted
inserted
replaced
3840:be9bd1067c6c | 3841:3479f939987c |
---|---|
38 Uint8 *mixbuf; /* The raw allocated mixing buffer */ | 38 Uint8 *mixbuf; /* The raw allocated mixing buffer */ |
39 WAVEHDR wavebuf[NUM_BUFFERS]; /* Wave audio fragments */ | 39 WAVEHDR wavebuf[NUM_BUFFERS]; /* Wave audio fragments */ |
40 int next_buffer; | 40 int next_buffer; |
41 }; | 41 }; |
42 | 42 |
43 /* Old variable names */ | |
44 #define sound (this->hidden->sound) | |
45 #define audio_sem (this->hidden->audio_sem) | |
46 #define mixbuf (this->hidden->mixbuf) | |
47 #define wavebuf (this->hidden->wavebuf) | |
48 #define next_buffer (this->hidden->next_buffer) | |
49 | |
50 #endif /* _SDL_dibaudio_h */ | 43 #endif /* _SDL_dibaudio_h */ |
51 | 44 |
52 /* vi: set ts=4 sw=4 expandtab: */ | 45 /* vi: set ts=4 sw=4 expandtab: */ |