[−][src]Function sdl2_sys::SDL_AudioStreamGet
pub unsafe extern "C" fn SDL_AudioStreamGet(
stream: *mut SDL_AudioStream,
buf: *mut c_void,
len: c_int
) -> c_int
Get converted/resampled data from the stream
\param stream The stream the audio is being requested from \param buf A buffer to fill with audio data \param len The maximum number of bytes to fill \return The number of bytes read from the stream, or -1 on error
\sa SDL_NewAudioStream \sa SDL_AudioStreamPut \sa SDL_AudioStreamAvailable \sa SDL_AudioStreamFlush \sa SDL_AudioStreamClear \sa SDL_FreeAudioStream