SDL_ClearAudioStream

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.

extern (C) nothrow @nogc extern
bool
SDL_ClearAudioStream

Parameters

stream SDL_AudioStream*

the audio stream to clear.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta