comparison src/audio/amigaos/SDL_ahiaudio.h @ 255:dcb5e869f8b5

Updated Amiga port by Gabriele Greco
author Sam Lantinga <slouken@libsdl.org>
date Sun, 16 Dec 2001 20:00:27 +0000
parents e8157fcb3114
children f6ffac90895c
comparison
equal deleted inserted replaced
254:4fc12b8edf74 255:dcb5e869f8b5
33 #ifdef __SASC 33 #ifdef __SASC
34 #include <proto/exec.h> 34 #include <proto/exec.h>
35 #else 35 #else
36 #include <inline/exec.h> 36 #include <inline/exec.h>
37 #endif 37 #endif
38 #include <stdlib.h>
39 #include <string.h>
38 40
39 #include <devices/ahi.h> 41 #include <devices/ahi.h>
40 #include "mydebug.h" 42 #include "mydebug.h"
41 #include "SDL_sysaudio.h" 43 #include "SDL_sysaudio.h"
42 44
45 47
46 struct SDL_PrivateAudioData { 48 struct SDL_PrivateAudioData {
47 /* The handle for the audio device */ 49 /* The handle for the audio device */
48 struct AHIRequest *audio_req[2]; 50 struct AHIRequest *audio_req[2];
49 struct MsgPort *audio_port; 51 struct MsgPort *audio_port;
50 Sint32 freq,type,bytespersample; 52 Sint32 freq,type,bytespersample,size;
51 Uint8 *mixbuf[2]; /* The app mixing buffer */ 53 Uint8 *mixbuf[2]; /* The app mixing buffer */
52 int current_buffer; 54 int current_buffer;
53 Uint32 playing; 55 Uint32 playing;
54 }; 56 };
55 57