通过c#播放mp3 [英] playing mp3 through c#

查看:83
本文介绍了通过c#播放mp3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过c#编码播放mp3?

how to play mp3 through c# codeing ??

推荐答案

作为Prasad解决方案的替代方案(实际上,由引用文章的作者):



您可以使用Windows Media Player控件。基本上,您需要将COM引用添加到项目中。请参阅:

http:// msdn。 microsoft.com/en-us/library/bb383953%28v=vs.90%29.aspx [ ^ ],

http://msdn.microsoft.com/en-us/library/windows/desktop/dd562851%28v=vs。 85%29.aspx [ ^ ],

http://diptimayapatra.wordpress.com/2010/04/05/using-windows-media-player-com-in-wpf/ [ ^ ] 。



另外,你可以找到我是第三方玩家的包装或端口,例如VLC:

http://en.wikipedia。 org / wiki / VLC_media_player [ ^ ],

http://www.videolan.org/vlc [ ^ ]。



请参阅此CodeProject文章: nVLC [ ^ ]。



-SA
As an alternative to the solution by Prasad (actually, by the author of the referenced article):

You can use Windows Media Player control. Basically, you will need to add COM reference to your project. See:
http://msdn.microsoft.com/en-us/library/bb383953%28v=vs.90%29.aspx[^],
http://msdn.microsoft.com/en-us/library/windows/desktop/dd562851%28v=vs.85%29.aspx[^],
http://diptimayapatra.wordpress.com/2010/04/05/using-windows-media-player-com-in-wpf/[^].

Alternatively, you can find some wrappers or ports of third-party players, such as VLC:
http://en.wikipedia.org/wiki/VLC_media_player[^],
http://www.videolan.org/vlc[^].

See this CodeProject article: nVLC[^].

—SA


尝试

适用于Windows 7的MP3播放器 [ ^ ]

使用C#播放MP3文件 [ ^ ]

和一个常见的问题,询问如何使用C#语言播放.Mp3文件。看看那里 - CP搜索 - [播放mp3和C#] [ ^ ]用于获得更多类似问题的解决方案。
Try
MP3 Player for Windows 7[^]
Play MP3 Files Using C#[^]
and Its a common question to ask about how to play .Mp3 files using C# languages. Have a look there-CP Search-[playing mp3 and C#][^] for getting more similar question with solution.


代码项目有一篇好文章,查看链接 C#中的音频播放器 [ ^ ]
code project has a good article, check link Audio player in C#[^]


这篇关于通过c#播放mp3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆