Function fermium::audio::SDL_AudioStreamFlush
source · pub unsafe extern "C" fn SDL_AudioStreamFlush(
stream: *mut SDL_AudioStream
) -> c_int
Expand description
Flush the stream.
This tell the stream that you’re done sending data, and anything being buffered should be converted/re-sampled and made available immediately.
It is legal to add more data to a stream after flushing, but there will be audio gaps in the output. Generally this is intended to signal the end of input, so the complete output becomes available.