This function is called when the audio device needs more data.
Defined in SDL_audio.h
typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream, int len);
userdata | An application-specific parameter saved in the SDL_AudioSpec structure. |
stream | A pointer to the audio data buffer. |
len | Length of stream in bytes. |