[−][src]Function sdl2_sys::SDL_AudioStreamAvailable
pub unsafe extern "C" fn SDL_AudioStreamAvailable(
stream: *mut SDL_AudioStream
) -> c_int
Get the number of converted/resampled bytes available. The stream may be buffering data behind the scenes until it has enough to resample correctly, so this number might be lower than what you expect, or even be zero. Add more data or flush the stream if you need the data now.
\sa SDL_NewAudioStream \sa SDL_AudioStreamPut \sa SDL_AudioStreamGet \sa SDL_AudioStreamFlush \sa SDL_AudioStreamClear \sa SDL_FreeAudioStream