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.
如何在 C++ 中并行播放声音?我尝试使用 Windows Api 和线程的 PlaySound 功能,但是当声音开始在另一个线程中播放时,来自其他线程的声音停止了。有没有办法同时播放两种不同的声音?
使用FModEx,卢克。
现在说真的,FMod 是一个非常易于使用的声音库。转到链接页面并下载 FMOD Ex Programmer's API。由于它是一个相当成熟的库,您将能够找到许多关于如何使用它的示例和教程。