简体   繁体   English

一种将托管代码中的mp3帧解压缩为PCM或更好的ADPCM的方法

[英]A way to decompress mp3 frames in managed code to PCM or better ADPCM

Is there a way to decompress mp3 frames in managed code to PCM or better ADPCM data without using native code dlls? 有没有办法在不使用本机代码dll的情况下将托管代码中的mp3帧解压缩为PCM或更好的ADPCM数据? DllImport and P/Invoke is restricted on platform. DllImport和P / Invoke在平台上受到限制。 I'v checked NAudio and all its decompression classes for mp3 requires windows dlls so i've run out of ideas 我检查了NAudio并为MP3对其所有解压缩类都需要Windows dll,所以我已经没有足够的想法了

If you were willing to do a bit of legwork yourself, you could use the NSynth library. 如果您愿意自己做些其他工作,则可以使用NSynth库。 It's an API for working with multimedia content that I created a while back and hack on every now and again. 这是一个用于处理多媒体内容的API,我创建了一段时间后就不停地破解。 I don't have MP3 support implemented (yet) but there's groundwork for a lot of what you'd need. 我还没有实现MP3支持,但是您需要满足很多需求。

https://github.com/cathode/nsynth https://github.com/cathode/nsynth

EDIT: I started this project several years ago because there wasn't any pure-managed library that could decode/encode/filter multimedia. 编辑:几年前我开始了这个项目,因为没有任何纯托管库可以解码/编码/过滤多媒体。 Since then, someone else may have gotten ahead of me. 从那时起,也许有人领先于我。

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

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