简体   繁体   中英

Play sound parallel

How can I play sound parallel in c++? I tried it with the PlaySound function of the Windows Api and Threads, but when a sound starts playing in another Thread, the sound from the other Threads stopped. Is there any way to get two different sounds to be played at the same time?

Use FModEx , Luke.

Now seriously, FMod is a very easy-to-use sound library. Go to the linked page and download FMOD Ex Programmer's API. Since it's quite mature library, you'll be able to find many examples and tutorials on how to use it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM