Jump to content
  • Advertisement
Sign in to follow this  
eam_sheila08

playing multiple sound in c#

This topic is 3892 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i'm just a beginner in c# but i already programmed a few ones..lately, i was dealing with c# 's PlaySound() and i have a hard time playing mulitple wave files concurrently..anyone who can give me even the simplest code for the matter just for a hint?? thanks much!!

Share this post


Link to post
Share on other sites
Advertisement
I'm not sure what you mean by C#'s PlaySound(); the only one I can find is the Win32 API call, where passing SND_ASYNC will return instantly. I'm not sure if this will let you play multiple sounds at once, though.

FMOD Ex is an excellent sound library with a lot of documentation and a wrapper for easy use in C#.

Share this post


Link to post
Share on other sites
Quote:
Original post by benryvesI'm not sure if this will let you play multiple sounds at once, though.


Unfortunately, no. PlaySound is really intended for simple playback although I remember seeing where people were using threading to play individual sounds simultaneously.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!