Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good day.

I have taken a look at the low level audio player on this site....I was wondering if there is any way of making it play mp3's or wma file formats. It should be done in C#

Thank you sincerely
Posted

1 solution

First and most straightforward way to consider: you can use available System.Windows.Media.MediaPlayer component and use it in your WPF application.

What it plays depends on installed codecs.

For wma you need Windows Media (which you should already have): http://windows.microsoft.com/en-US/windows/products/windows-media[^].

For most versatile support of audio/video media containers and codecs I would recommend Open Source K-Lite Codec Pack, see:
http://en.wikipedia.org/wiki/K-Lite_Codec_Pack[^],
http://codecguide.com/[^].

—SA
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900