src/audio/SDL_audio_c.h
changeset 1982 3b4ce57c6215
parent 1895 c121d94672cb
child 2664 344c8da164f4
child 2859 99210400e8b9
--- a/src/audio/SDL_audio_c.h	Thu Aug 10 15:15:06 2006 +0000
+++ b/src/audio/SDL_audio_c.h	Thu Aug 24 12:10:46 2006 +0000
@@ -24,12 +24,22 @@
 /* Functions and variables exported from SDL_audio.c for SDL_sysaudio.c */
 
 /* Functions to get a list of "close" audio formats */
-extern Uint16 SDL_FirstAudioFormat(Uint16 format);
-extern Uint16 SDL_NextAudioFormat(void);
+extern SDL_AudioFormat SDL_FirstAudioFormat(SDL_AudioFormat format);
+extern SDL_AudioFormat SDL_NextAudioFormat(void);
 
 /* Function to calculate the size and silence for a SDL_AudioSpec */
 extern void SDL_CalculateAudioSpec(SDL_AudioSpec * spec);
 
 /* The actual mixing thread function */
 extern int SDLCALL SDL_RunAudio(void *audiop);
+
+/* this is used internally to access some autogenerated code. */
+typedef struct
+{
+    SDL_AudioFormat src_fmt;
+    SDL_AudioFormat dst_fmt;
+    SDL_AudioFilter filter;
+} SDL_AudioTypeFilters;
+extern const SDL_AudioTypeFilters sdl_audio_type_filters[];
+
 /* vi: set ts=4 sw=4 expandtab: */