Function fermium::audio::SDL_AudioStreamGet
source · pub unsafe extern "C" fn SDL_AudioStreamGet(
stream: *mut SDL_AudioStream,
buf: *mut c_void,
len: c_int
) -> c_int
Expand description
Get converted/re-sampled data from the stream
stream
The stream the audio is being requested frombuf
A buffer to fill with audio datalen
The maximum number of bytes to fill
Return: The number of bytes read from the stream, or -1 on error