简体   繁体   English

Naudio .net使用MP3

[英]Naudio .net Using MP3

How can i play embedded resources using Naudio? 如何使用Naudio播放嵌入式资源? Because the methods included in this library accept the string path to the file... and since im kind of a newbie I cannot edit those methods, I want to know if theres a way around? 因为该库中包含的方法接受文件的字符串路径...并且由于我是新手,所以我无法编辑这些方法,所以我想知道是否有解决方法?

Mp3FileReader has a constructor that takes a stream which you should be able to use. Mp3FileReader有一个构造函数,该构造函数接受您应该可以使用的流。 The stream does need to be seekable. 流确实需要寻找。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM