src/audio/SDL_audio_c.h
changeset 10815 71bbe3233508
parent 10799 234f71894a52
child 10849 bc671e6906ae
     1.1 --- a/src/audio/SDL_audio_c.h	Sun Jan 15 05:01:59 2017 -0500
     1.2 +++ b/src/audio/SDL_audio_c.h	Mon Jan 16 00:58:28 2017 -0500
     1.3 @@ -53,16 +53,17 @@
     1.4  /* Function to calculate the size and silence for a SDL_AudioSpec */
     1.5  extern void SDL_CalculateAudioSpec(SDL_AudioSpec * spec);
     1.6  
     1.7 -void SDLCALL SDL_Convert_S8_to_F32(SDL_AudioCVT *cvt, SDL_AudioFormat format);
     1.8 -void SDLCALL SDL_Convert_U8_to_F32(SDL_AudioCVT *cvt, SDL_AudioFormat format);
     1.9 -void SDLCALL SDL_Convert_S16_to_F32(SDL_AudioCVT *cvt, SDL_AudioFormat format);
    1.10 -void SDLCALL SDL_Convert_U16_to_F32(SDL_AudioCVT *cvt, SDL_AudioFormat format);
    1.11 -void SDLCALL SDL_Convert_S32_to_F32(SDL_AudioCVT *cvt, SDL_AudioFormat format);
    1.12 -void SDLCALL SDL_Convert_F32_to_S8(SDL_AudioCVT *cvt, SDL_AudioFormat format);
    1.13 -void SDLCALL SDL_Convert_F32_to_U8(SDL_AudioCVT *cvt, SDL_AudioFormat format);
    1.14 -void SDLCALL SDL_Convert_F32_to_S16(SDL_AudioCVT *cvt, SDL_AudioFormat format);
    1.15 -void SDLCALL SDL_Convert_F32_to_U16(SDL_AudioCVT *cvt, SDL_AudioFormat format);
    1.16 -void SDLCALL SDL_Convert_F32_to_S32(SDL_AudioCVT *cvt, SDL_AudioFormat format);
    1.17 +/* These pointers get set during init to various SIMD implementations. */
    1.18 +extern SDL_AudioFilter SDL_Convert_S8_to_F32;
    1.19 +extern SDL_AudioFilter SDL_Convert_U8_to_F32;
    1.20 +extern SDL_AudioFilter SDL_Convert_S16_to_F32;
    1.21 +extern SDL_AudioFilter SDL_Convert_U16_to_F32;
    1.22 +extern SDL_AudioFilter SDL_Convert_S32_to_F32;
    1.23 +extern SDL_AudioFilter SDL_Convert_F32_to_S8;
    1.24 +extern SDL_AudioFilter SDL_Convert_F32_to_U8;
    1.25 +extern SDL_AudioFilter SDL_Convert_F32_to_S16;
    1.26 +extern SDL_AudioFilter SDL_Convert_F32_to_U16;
    1.27 +extern SDL_AudioFilter SDL_Convert_F32_to_S32;
    1.28  
    1.29  
    1.30  /* SDL_AudioStream is a new audio conversion interface. It