Is the callba开发者_运维问答ck function in SDL_Audio_Spec called SDLAudio_Spec.freq times a second?
No, it is only called enough times to output SDLAudioSpec.freq samples per second. How many times it will be called also depends on the buffer size(SDLAudioSpec.samples).
精彩评论