Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/audio/mint/SDL_mintaudio_mcsn.h Sun May 21 17:27:13 2006 +0000 +++ b/src/audio/mint/SDL_mintaudio_mcsn.h Sun May 28 13:04:16 2006 +0000 @@ -30,30 +30,33 @@ #ifndef _SDL_mintaudio_mcsh_h #define _SDL_mintaudio_mcsh_h -typedef struct { - unsigned short version; /* Version */ - unsigned short size; /* Size of structure */ +typedef struct +{ + unsigned short version; /* Version */ + unsigned short size; /* Size of structure */ - unsigned short play; /* Replay capability */ - unsigned short record; /* Record capability */ - unsigned short dsp; /* DSP56K present */ - unsigned short pint; /* Interrupt at end of replay */ - unsigned short rint; /* Interrupt at end of record */ + unsigned short play; /* Replay capability */ + unsigned short record; /* Record capability */ + unsigned short dsp; /* DSP56K present */ + unsigned short pint; /* Interrupt at end of replay */ + unsigned short rint; /* Interrupt at end of record */ - unsigned long res1; /* Frequency of external clock */ - unsigned long res2; - unsigned long res3; - unsigned long res4; -} cookie_mcsn_t __attribute__((packed)); + unsigned long res1; /* Frequency of external clock */ + unsigned long res2; + unsigned long res3; + unsigned long res4; +} cookie_mcsn_t __attribute__ ((packed)); -enum { - MCSN_ST=0, - MCSN_TT, - MCSN_STE=MCSN_TT, - MCSN_FALCON, - MCSN_MAC=MCSN_FALCON +enum +{ + MCSN_ST = 0, + MCSN_TT, + MCSN_STE = MCSN_TT, + MCSN_FALCON, + MCSN_MAC = MCSN_FALCON }; -#define SETSMPFREQ 7 /* Set sample frequency */ +#define SETSMPFREQ 7 /* Set sample frequency */ #endif /* _SDL_mintaudio_mcsh_h */ +/* vi: set ts=4 sw=4 expandtab: */