Get converted/resampled data from the stream
Defined in SDL_audio.h
int SDL_AudioStreamGet(SDL_AudioStream *stream, void *buf, int len);
stream | The stream the audio is being requested from |
buf | A buffer to fill with audio data |
len | The maximum number of bytes to fill |
Returns the number of bytes read from the stream, or -1 on error
This function is available since SDL 2.0.7.
CategoryAPI, CategoryAPIFunction