Sign in to follow this  
eam_sheila08

playing multiple sound in c#

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this