Mercurial > sdl-ios-xcode
comparison src/audio/mint/SDL_mintaudio_mcsn.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_mcsh_h | 30 #ifndef _SDL_mintaudio_mcsh_h |
31 #define _SDL_mintaudio_mcsh_h | 31 #define _SDL_mintaudio_mcsh_h |
32 | 32 |
33 typedef struct { | 33 typedef struct |
34 unsigned short version; /* Version */ | 34 { |
35 unsigned short size; /* Size of structure */ | 35 unsigned short version; /* Version */ |
36 unsigned short size; /* Size of structure */ | |
36 | 37 |
37 unsigned short play; /* Replay capability */ | 38 unsigned short play; /* Replay capability */ |
38 unsigned short record; /* Record capability */ | 39 unsigned short record; /* Record capability */ |
39 unsigned short dsp; /* DSP56K present */ | 40 unsigned short dsp; /* DSP56K present */ |
40 unsigned short pint; /* Interrupt at end of replay */ | 41 unsigned short pint; /* Interrupt at end of replay */ |
41 unsigned short rint; /* Interrupt at end of record */ | 42 unsigned short rint; /* Interrupt at end of record */ |
42 | 43 |
43 unsigned long res1; /* Frequency of external clock */ | 44 unsigned long res1; /* Frequency of external clock */ |
44 unsigned long res2; | 45 unsigned long res2; |
45 unsigned long res3; | 46 unsigned long res3; |
46 unsigned long res4; | 47 unsigned long res4; |
47 } cookie_mcsn_t __attribute__((packed)); | 48 } cookie_mcsn_t __attribute__ ((packed)); |
48 | 49 |
49 enum { | 50 enum |
50 MCSN_ST=0, | 51 { |
51 MCSN_TT, | 52 MCSN_ST = 0, |
52 MCSN_STE=MCSN_TT, | 53 MCSN_TT, |
53 MCSN_FALCON, | 54 MCSN_STE = MCSN_TT, |
54 MCSN_MAC=MCSN_FALCON | 55 MCSN_FALCON, |
56 MCSN_MAC = MCSN_FALCON | |
55 }; | 57 }; |
56 | 58 |
57 #define SETSMPFREQ 7 /* Set sample frequency */ | 59 #define SETSMPFREQ 7 /* Set sample frequency */ |
58 | 60 |
59 #endif /* _SDL_mintaudio_mcsh_h */ | 61 #endif /* _SDL_mintaudio_mcsh_h */ |
62 /* vi: set ts=4 sw=4 expandtab: */ |