Create a new audio stream.
const SDL_AudioSpec *src_spec, const SDL_AudioSpec *dst_spec); SDL_AudioStream* SDL_CreateAudioStream(
src_spec | The format details of the input audio |
dst_spec | The format details of the output audio |
Returns 0 on success, or -1 on error.
It is safe to call this function from any thread.
This function is available since SDL 3.0.0.