开发者

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

开发者 https://www.devze.com 2022-12-10 13:19 出处:网络
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

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

精彩评论

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