Clear any pending data in the stream.
This drops any queued data, so there will be nothing to read from the stream until more is added.
the audio stream to clear.
true on success or false on failure; call SDL_GetError() for more information.
Threadsafety: It is safe to call this function from any thread.
SDL_GetAudioStreamAvailable SDL_GetAudioStreamData SDL_GetAudioStreamQueued SDL_PutAudioStreamData
See Implementation
Clear any pending data in the stream.
This drops any queued data, so there will be nothing to read from the stream until more is added.