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