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 to
  • buf A pointer to the audio data to add
  • len The number of bytes to write to the stream

Return: 0 on success, or -1 on error.