src/audio/mint/SDL_mintaudio_stfa.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1402 d910939febfa
child 2859 99210400e8b9
     1.1 --- a/src/audio/mint/SDL_mintaudio_stfa.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/src/audio/mint/SDL_mintaudio_stfa.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -32,7 +32,7 @@
     1.4  
     1.5  /*--- Defines ---*/
     1.6  
     1.7 -#define C_STFA	0x53544641L	/* Sound treiber für atari (seb/The removers) */
     1.8 +#define C_STFA	0x53544641L     /* Sound treiber für atari (seb/The removers) */
     1.9  
    1.10  #define STFA_PLAY_ENABLE	(1<<0)
    1.11  #define STFA_PLAY_DISABLE	(0<<0)
    1.12 @@ -48,53 +48,56 @@
    1.13  #define STFA_FORMAT_LITENDIAN	(1<<9)
    1.14  #define STFA_FORMAT_BIGENDIAN	(0<<9)
    1.15  #define STFA_FORMAT_FREQ_MASK	0x0f
    1.16 -enum {
    1.17 -	STFA_FORMAT_F4995=0,
    1.18 -	STFA_FORMAT_F6269,
    1.19 -	STFA_FORMAT_F7493,
    1.20 -	STFA_FORMAT_F8192,
    1.21 +enum
    1.22 +{
    1.23 +    STFA_FORMAT_F4995 = 0,
    1.24 +    STFA_FORMAT_F6269,
    1.25 +    STFA_FORMAT_F7493,
    1.26 +    STFA_FORMAT_F8192,
    1.27  
    1.28 -	STFA_FORMAT_F9830,
    1.29 -	STFA_FORMAT_F10971,
    1.30 -	STFA_FORMAT_F12538,
    1.31 -	STFA_FORMAT_F14985,
    1.32 +    STFA_FORMAT_F9830,
    1.33 +    STFA_FORMAT_F10971,
    1.34 +    STFA_FORMAT_F12538,
    1.35 +    STFA_FORMAT_F14985,
    1.36  
    1.37 -	STFA_FORMAT_F16384,
    1.38 -	STFA_FORMAT_F19819,
    1.39 -	STFA_FORMAT_F21943,
    1.40 -	STFA_FORMAT_F24576,
    1.41 +    STFA_FORMAT_F16384,
    1.42 +    STFA_FORMAT_F19819,
    1.43 +    STFA_FORMAT_F21943,
    1.44 +    STFA_FORMAT_F24576,
    1.45  
    1.46 -	STFA_FORMAT_F30720,
    1.47 -	STFA_FORMAT_F32336,
    1.48 -	STFA_FORMAT_F43885,
    1.49 -	STFA_FORMAT_F49152
    1.50 +    STFA_FORMAT_F30720,
    1.51 +    STFA_FORMAT_F32336,
    1.52 +    STFA_FORMAT_F43885,
    1.53 +    STFA_FORMAT_F49152
    1.54  };
    1.55  
    1.56  /*--- Types ---*/
    1.57  
    1.58 -typedef struct {
    1.59 -	unsigned short sound_enable;
    1.60 -	unsigned short sound_control;
    1.61 -	unsigned short sound_output;
    1.62 -	unsigned long sound_start;
    1.63 -	unsigned long sound_current;
    1.64 -	unsigned long sound_end;
    1.65 -	unsigned short version;
    1.66 -	void *old_vbl;
    1.67 -	void *old_timera;
    1.68 -	unsigned long old_mfp_status;
    1.69 -	void *new_vbl;
    1.70 -	void *drivers_list;
    1.71 -	void *play_stop;
    1.72 -	unsigned short frequency;
    1.73 -	void *set_frequency;
    1.74 -	
    1.75 -	unsigned short frequency_threshold;
    1.76 -	unsigned short *custom_freq_table;
    1.77 -	unsigned short stfa_on_off;
    1.78 -	void *new_drivers_list;
    1.79 -	unsigned long old_bit_2_of_cookie_snd;
    1.80 -	void (*stfa_it)(void);
    1.81 -} cookie_stfa_t __attribute__((packed));
    1.82 +typedef struct
    1.83 +{
    1.84 +    unsigned short sound_enable;
    1.85 +    unsigned short sound_control;
    1.86 +    unsigned short sound_output;
    1.87 +    unsigned long sound_start;
    1.88 +    unsigned long sound_current;
    1.89 +    unsigned long sound_end;
    1.90 +    unsigned short version;
    1.91 +    void *old_vbl;
    1.92 +    void *old_timera;
    1.93 +    unsigned long old_mfp_status;
    1.94 +    void *new_vbl;
    1.95 +    void *drivers_list;
    1.96 +    void *play_stop;
    1.97 +    unsigned short frequency;
    1.98 +    void *set_frequency;
    1.99 +
   1.100 +    unsigned short frequency_threshold;
   1.101 +    unsigned short *custom_freq_table;
   1.102 +    unsigned short stfa_on_off;
   1.103 +    void *new_drivers_list;
   1.104 +    unsigned long old_bit_2_of_cookie_snd;
   1.105 +    void (*stfa_it) (void);
   1.106 +} cookie_stfa_t __attribute__ ((packed));
   1.107  
   1.108  #endif /* _SDL_mintaudio_stfa_h */
   1.109 +/* vi: set ts=4 sw=4 expandtab: */