Remove AudioCVT interface in favor of SDL_AudioStream

This commit is contained in:
Sylvain 2023-01-16 09:45:02 +01:00 committed by Ryan C. Gordon
parent 9211c0b639
commit 64bc0a1612
8 changed files with 161 additions and 142 deletions

View file

@ -59,6 +59,9 @@ extern void SDL_CalculateAudioSpec(SDL_AudioSpec *spec);
/* Choose the audio filter functions below */
extern void SDL_ChooseAudioConverters(void);
struct SDL_AudioCVT;
typedef void (SDLCALL * SDL_AudioFilter) (struct SDL_AudioCVT * cvt, SDL_AudioFormat format);
/* These pointers get set during SDL_ChooseAudioConverters() to various SIMD implementations. */
extern SDL_AudioFilter SDL_Convert_S8_to_F32;
extern SDL_AudioFilter SDL_Convert_U8_to_F32;