wpf的声音播放器 [英] sound player for wpf
本文介绍了wpf的声音播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们
i希望在我的程序中播放声音由wpf写入
i需要组件播放声音,除了媒体播放器组件
i不想要媒体播放器,因为当我播放声音时它寻求时间与其他播放器不同,如km-player或声音编辑器
谢谢
解决方案
如果您需要直接声音生成,请查看此MSDN杂志文章:
http://msdn.microsoft.com/en-us/magazine/ee309883.aspx [ ^ ]。
如果您仍需要某些媒体播放器,请查看VLC渲染器: http://vlcrenderer.codeplex.com/ [ ^ ]。它是作为开源项目提供的。
它基于非常先进的VLC媒体播放器,请参阅 http://en.wikipedia.org/wiki/VLC_media_player [ ^ ], http://www.videolan.org/ [ ^ ]。
-SA
这是关于.NET的VLC组件绑定的更新有用信息:
http://sourceforge.net/projects/libvlcnet/ [ ^ ],
https://wiki.videolan.org/C_Sharp/ [ ^ ],
https://wiki.videolan.org/.Net_Interface_to_VLC/ [ ^ ]。
值得注意的是,你可以找到使用WPF和System.Windows.Forms
组件的材料。
-SA
hi friends
i want play sound in my program that writed by wpf
i need componet to play sound except media player componet
i don't want media player because when i play sound by it seek time is different from other player like km-player or sound-editors
thanks
解决方案
If you need direct sound generation, look at this MSDN Magazine article:
http://msdn.microsoft.com/en-us/magazine/ee309883.aspx[^].
In case you still needs some media player, take a look at VLC renderer: http://vlcrenderer.codeplex.com/[^]. It is provided as Open Source project.
It's based on a very advanced VLC media player, see http://en.wikipedia.org/wiki/VLC_media_player[^], http://www.videolan.org/[^].
—SA
This is the updated useful information on the VLC component binding for.NET:
http://sourceforge.net/projects/libvlcnet/[^],
https://wiki.videolan.org/C_Sharp/[^],
https://wiki.videolan.org/.Net_Interface_to_VLC/[^].
Notably, you can find material for using the component for both WPF andSystem.Windows.Forms
.
—SA
这篇关于wpf的声音播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文