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