Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can I use playsound() to play multiSound at a same time?

How do I use it?
Posted
Updated 8-Dec-10 22:32pm
v2
Comments
GPUToaster™ 9-Dec-10 1:29am    
Specify the API please!!

1 solution

What's a "multiSound"? I assume that you want to play different audio files at the same time? Then call PlaySound()[^] multiple times.

You could even call it multiple times sequentially from the same thread, specifying a different sound file to play each time (see the SND_ASYNC flags, which makes the call return immediately). This way, the call will return immediately and the next sound will start playing, while the previous sound is still playing.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900