Function fermium::audio::SDL_AudioStreamPut
source · pub unsafe extern "C" fn SDL_AudioStreamPut(
stream: *mut SDL_AudioStream,
buf: *const c_void,
len: c_int
) -> c_int
Expand description
Add data to be converted/re-sampled to the stream
stream
The stream the audio data is being added tobuf
A pointer to the audio data to addlen
The number of bytes to write to the stream
Return: 0 on success, or -1 on error.