[−][src]Function sdl2_sys::SDL_AudioStreamPut
pub unsafe extern "C" fn SDL_AudioStreamPut(
stream: *mut SDL_AudioStream,
buf: *const c_void,
len: c_int
) -> c_int
Add data to be converted/resampled to the stream
\param stream The stream the audio data is being added to \param buf A pointer to the audio data to add \param len The number of bytes to write to the stream \return 0 on success, or -1 on error.
\sa SDL_NewAudioStream \sa SDL_AudioStreamGet \sa SDL_AudioStreamAvailable \sa SDL_AudioStreamFlush \sa SDL_AudioStreamClear \sa SDL_FreeAudioStream