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?
Asked
Active
Viewed 1,260 times
0
-
You can mix the two sounds (or any number of sounds) yourself and play the result using Windows' waveOut API. – Michael Nov 19 '13 at 08:46
1 Answers
0
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.

Spook
- 25,318
- 18
- 90
- 167
-
-
No, I did not. Actually, I used only C# wrapper for FMod on Windows (though the original libraries are for C++, of course). – Spook Nov 19 '13 at 08:50