• Advertisement
Sign in to follow this  

playing multiple sound in c#

This topic is 3674 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
C#? Have you tried SoundPlayer Class ? I think this is wrapper of WIN API that benryves mentioned, with the capability of asynchronous load or play .

Share this post


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

  • Advertisement