开发者

Is the callback function in SDL_Audio_Spec called SDLAudio_Spec.freq times a second?

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜