Clear any pending data in the stream without converting it
int SDL_ClearAudioStream(SDL_AudioStream *stream);
|stream||The audio stream to clear|
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
It is safe to call this function from any thread.
This function is available since SDL 3.0.0.