Mercurial > sdl-ios-xcode
comparison src/audio/mint/SDL_mintaudio_gsxb.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | d910939febfa |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
28 */ | 28 */ |
29 | 29 |
30 #ifndef _SDL_mintaudio_gsxb_h | 30 #ifndef _SDL_mintaudio_gsxb_h |
31 #define _SDL_mintaudio_gsxb_h | 31 #define _SDL_mintaudio_gsxb_h |
32 | 32 |
33 #include <mint/falcon.h> /* for trap_14_xxx macros */ | 33 #include <mint/falcon.h> /* for trap_14_xxx macros */ |
34 | 34 |
35 /* GSXB Cookie */ | 35 /* GSXB Cookie */ |
36 | 36 |
37 #define C_GSXB 0x47535842L | 37 #define C_GSXB 0x47535842L |
38 | 38 |
40 | 40 |
41 #define SND_GSXB (1<<5) | 41 #define SND_GSXB (1<<5) |
42 | 42 |
43 /* NSoundcmd modes */ | 43 /* NSoundcmd modes */ |
44 | 44 |
45 #define SETRATE 7 /* Set sample rate */ | 45 #define SETRATE 7 /* Set sample rate */ |
46 #define SET8BITFORMAT 8 /* 8 bits format */ | 46 #define SET8BITFORMAT 8 /* 8 bits format */ |
47 #define SET16BITFORMAT 9 /* 16 bits format */ | 47 #define SET16BITFORMAT 9 /* 16 bits format */ |
48 #define SET24BITFORMAT 10 /* 24 bits format */ | 48 #define SET24BITFORMAT 10 /* 24 bits format */ |
49 #define SET32BITFORMAT 11 /* 32 bits format */ | 49 #define SET32BITFORMAT 11 /* 32 bits format */ |
50 #define LTATTEN_MASTER 12 /* Attenuation */ | 50 #define LTATTEN_MASTER 12 /* Attenuation */ |
51 #define RTATTEN_MASTER 13 | 51 #define RTATTEN_MASTER 13 |
52 #define LTATTEN_MICIN 14 | 52 #define LTATTEN_MICIN 14 |
53 #define RTATTEN_MICIN 15 | 53 #define RTATTEN_MICIN 15 |
54 #define LTATTEN_FMGEN 16 | 54 #define LTATTEN_FMGEN 16 |
55 #define RTATTEN_FMGEN 17 | 55 #define RTATTEN_FMGEN 17 |
104 #define NSetinterrupt(src_inter,cause,inth_addr) \ | 104 #define NSetinterrupt(src_inter,cause,inth_addr) \ |
105 (long)trap_14_wwwl((short)135,(short)(src_inter),(short)(cause), \ | 105 (long)trap_14_wwwl((short)135,(short)(src_inter),(short)(cause), \ |
106 (long)(inth_addr)) | 106 (long)(inth_addr)) |
107 | 107 |
108 #endif /* _SDL_mintaudio_gsxb_h */ | 108 #endif /* _SDL_mintaudio_gsxb_h */ |
109 /* vi: set ts=4 sw=4 expandtab: */ |