Mercurial > sdl-ios-xcode
comparison src/audio/amigaos/SDL_ahiaudio.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 | d910939febfa |
children |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
38 #include "../SDL_sysaudio.h" | 38 #include "../SDL_sysaudio.h" |
39 | 39 |
40 /* Hidden "this" pointer for the audio functions */ | 40 /* Hidden "this" pointer for the audio functions */ |
41 #define _THIS SDL_AudioDevice *this | 41 #define _THIS SDL_AudioDevice *this |
42 | 42 |
43 struct SDL_PrivateAudioData { | 43 struct SDL_PrivateAudioData |
44 /* The handle for the audio device */ | 44 { |
45 struct AHIRequest *audio_req[2]; | 45 /* The handle for the audio device */ |
46 struct MsgPort *audio_port; | 46 struct AHIRequest *audio_req[2]; |
47 Sint32 freq,type,bytespersample,size; | 47 struct MsgPort *audio_port; |
48 Uint8 *mixbuf[2]; /* The app mixing buffer */ | 48 Sint32 freq, type, bytespersample, size; |
49 int current_buffer; | 49 Uint8 *mixbuf[2]; /* The app mixing buffer */ |
50 Uint32 playing; | 50 int current_buffer; |
51 Uint32 playing; | |
51 }; | 52 }; |
52 | 53 |
53 /* Old variable names */ | 54 /* Old variable names */ |
54 #define audio_port (this->hidden->audio_port) | 55 #define audio_port (this->hidden->audio_port) |
55 #define audio_req (this->hidden->audio_req) | 56 #define audio_req (this->hidden->audio_req) |
56 #define mixbuf (this->hidden->mixbuf) | 57 #define mixbuf (this->hidden->mixbuf) |
57 #define current_buffer (this->hidden->current_buffer) | 58 #define current_buffer (this->hidden->current_buffer) |
58 #define playing (this->hidden->playing) | 59 #define playing (this->hidden->playing) |
59 | 60 |
60 #endif /* _SDL_ahiaudio_h */ | 61 #endif /* _SDL_ahiaudio_h */ |
62 /* vi: set ts=4 sw=4 expandtab: */ |