Click here to Skip to main content
15,881,882 members
Articles / Programming Languages / C#

Playing MP3s using MCI

Rate me:
Please Sign up or sign in to vote.
4.59/5 (37 votes)
16 Apr 2012CPOL3 min read 340K   6.6K   114  
An article on how to use MCI command strings to handle audio files. I have made a wrapper class for easier use.

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MP3Example", "MP3Example\MP3Example.csproj", "{BDC90B55-5D68-45BE-889A-5CE5E0BBE4E1}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{BDC90B55-5D68-45BE-889A-5CE5E0BBE4E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{BDC90B55-5D68-45BE-889A-5CE5E0BBE4E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{BDC90B55-5D68-45BE-889A-5CE5E0BBE4E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{BDC90B55-5D68-45BE-889A-5CE5E0BBE4E1}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Web Developer
Bulgaria Bulgaria
I have just graduated from the Technical University of Garbovo, Bulgaria as an Engineer in Computer Science and Technology.

Comments and Discussions