src/audio/SDL_audio_c.h
changeset 10790 92726dd20acd
parent 10764 f9bf759e9dd1
child 10791 64c46e09df9d
     1.1 --- a/src/audio/SDL_audio_c.h	Sun Jan 08 14:17:09 2017 -0500
     1.2 +++ b/src/audio/SDL_audio_c.h	Sun Jan 08 14:18:03 2017 -0500
     1.3 @@ -36,6 +36,16 @@
     1.4  
     1.5  /* Functions and variables exported from SDL_audio.c for SDL_sysaudio.c */
     1.6  
     1.7 +#ifdef HAVE_LIBSAMPLERATE_H
     1.8 +extern SDL_bool SRC_available;
     1.9 +typedef struct SRC_STATE SRC_STATE;
    1.10 +extern SRC_STATE* (*SRC_src_new)(int converter_type, int channels, int *error);
    1.11 +extern int (*SRC_src_process)(SRC_STATE *state, SRC_DATA *data);
    1.12 +extern int (*SRC_src_reset)(SRC_STATE *state);
    1.13 +extern SRC_STATE* (*SRC_src_delete)(SRC_STATE *state);
    1.14 +extern const char* (*SRC_src_strerror)(int error);
    1.15 +#endif
    1.16 +
    1.17  /* Functions to get a list of "close" audio formats */
    1.18  extern SDL_AudioFormat SDL_FirstAudioFormat(SDL_AudioFormat format);
    1.19  extern SDL_AudioFormat SDL_NextAudioFormat(void);