comparison src/audio/mint/SDL_mintaudio.h @ 3865:e958a003b69b SDL-1.2

Add function to check FPU presence
author Patrice Mandin <patmandin@gmail.com>
date Sat, 16 Sep 2006 10:38:09 +0000
parents a11c13151840
children 2325dd996f73
comparison
equal deleted inserted replaced
3864:ea2a327b92d7 3865:e958a003b69b
121 extern unsigned long SDL_MintAudio_audiosize; /* Length of audio buffer=spec->size */ 121 extern unsigned long SDL_MintAudio_audiosize; /* Length of audio buffer=spec->size */
122 extern volatile unsigned short SDL_MintAudio_numbuf; /* Buffer to play */ 122 extern volatile unsigned short SDL_MintAudio_numbuf; /* Buffer to play */
123 extern volatile unsigned short SDL_MintAudio_mutex; 123 extern volatile unsigned short SDL_MintAudio_mutex;
124 extern cookie_stfa_t *SDL_MintAudio_stfa; 124 extern cookie_stfa_t *SDL_MintAudio_stfa;
125 extern volatile unsigned long SDL_MintAudio_clocktics; 125 extern volatile unsigned long SDL_MintAudio_clocktics;
126 extern unsigned short SDL_MintAudio_hasfpu; /* To preserve fpu registers if needed */
126 127
127 /* MiNT thread variables */ 128 /* MiNT thread variables */
128 extern SDL_bool SDL_MintAudio_mint_present; 129 extern SDL_bool SDL_MintAudio_mint_present;
129 extern SDL_bool SDL_MintAudio_quit_thread; 130 extern SDL_bool SDL_MintAudio_quit_thread;
130 extern SDL_bool SDL_MintAudio_thread_finished; 131 extern SDL_bool SDL_MintAudio_thread_finished;
133 /* Functions */ 134 /* Functions */
134 void SDL_MintAudio_Callback(void); 135 void SDL_MintAudio_Callback(void);
135 void SDL_MintAudio_AddFrequency(_THIS, Uint32 frequency, Uint32 clock, 136 void SDL_MintAudio_AddFrequency(_THIS, Uint32 frequency, Uint32 clock,
136 Uint32 prediv, int gpio_bits); 137 Uint32 prediv, int gpio_bits);
137 int SDL_MintAudio_SearchFrequency(_THIS, int desired_freq); 138 int SDL_MintAudio_SearchFrequency(_THIS, int desired_freq);
139 void SDL_MintAudio_CheckFpu(void);
138 140
139 /* MiNT thread functions */ 141 /* MiNT thread functions */
140 int SDL_MintAudio_Thread(long param); 142 int SDL_MintAudio_Thread(long param);
141 void SDL_MintAudio_WaitThread(void); 143 void SDL_MintAudio_WaitThread(void);
142 144