Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SDL_Audio_Spec 中的回调函数是否每秒调用 SDLAudio_Spec.freq 次?
不,它只被调用足够的次数来每秒输出 SDLAudioSpec.freq 样本。它会被调用多少次也取决于缓冲区大小(SDLAudioSpec.samples)。