Click here to Skip to main content
15,888,521 members
Articles / Programming Languages / C#

A simple class to allow you to play Wavs in C#

Rate me:
Please Sign up or sign in to vote.
2.89/5 (24 votes)
14 Apr 20041 min read 112.2K   1.8K   35  
The framework, from what I have seen, does not include a function to play sound. So, after looking around and gathering information on how to do such, I ended up making a class. I like to use this for error messages. I simply imported the DLL file winmm.dll and used the PlaySound function from it.

Views

Daily Counts

Downloads

Weekly Counts

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
Graduated from Kennesaw State with a Computer Informatin Systems degree. I have a fair knowledge of C++ and C# but by far am not an expert. My skills are more into software troubleshooting and repair.

Currently working as an IT Specialist for a Radio Read Meter Company.

Comments and Discussions