Mercurial > sdl-ios-xcode
comparison src/audio/mme/SDL_mmeaudio.h @ 3827:1806fd1acba4 SDL-ryan-multiple-audio-device
Moved mme audio driver to 1.3 API.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 07 Oct 2006 07:54:13 +0000 |
parents | 9dc81c6acaf5 |
children |
comparison
equal
deleted
inserted
replaced
3826:5b483ce86357 | 3827:1806fd1acba4 |
---|---|
21 */ | 21 */ |
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | 23 |
24 /* Allow access to a raw mixing buffer */ | 24 /* Allow access to a raw mixing buffer */ |
25 | 25 |
26 #ifndef _SDL_lowaudio_h | 26 #ifndef _SDL_mmeaudio_h |
27 #define _SDL_lowaudio_h | 27 #define _SDL_mmeaudio_h |
28 | 28 |
29 #include "../SDL_sysaudio.h" | 29 #include "../SDL_sysaudio.h" |
30 | 30 |
31 /* Hidden "this" pointer for the audio functions */ | 31 /* Hidden "this" pointer for the audio functions */ |
32 #define _THIS SDL_AudioDevice *this | 32 #define _THIS SDL_AudioDevice *this |
44 Uint8 *mixbuf; /* The raw allocated mixing buffer */ | 44 Uint8 *mixbuf; /* The raw allocated mixing buffer */ |
45 struct SharedMem *shm; | 45 struct SharedMem *shm; |
46 int next_buffer; | 46 int next_buffer; |
47 }; | 47 }; |
48 | 48 |
49 #define shm (this->hidden->shm) | 49 #endif /* _SDL_mmeaudio_h */ |
50 #define mixbuf (this->hidden->mixbuf) | 50 |
51 #define next_buffer (this->hidden->next_buffer) | |
52 /* Old variable names */ | |
53 #endif /* _SDL_lowaudio_h */ | |
54 /* vi: set ts=4 sw=4 expandtab: */ | 51 /* vi: set ts=4 sw=4 expandtab: */ |