问题
C\C++ open source Mp3 to PCM convertor?
What do I need
- Open Source Libs/wrappers for encoding/decoding.
- Tutorials and blog articles on How to do it, about etc.
回答1:
I've used this successfully in projects: http://www.mpg123.de/
EDIT: I can't speak for this one http://www.underbit.com/products/mad/ but it's supposed to be very good... if you can deal with the GPL.
回答2:
As Jeffrey mentioned, LAME can do that, but it's not true that you have to run it as an executable, you can build it as a library. You can even use it in commercial software as long as you dynamically link it.
http://lame.sourceforge.net/about.php
There are numerous open-source packages that use LAME which you can use as examples:
http://lame.sourceforge.net/links.php#OpenSource
来源:https://stackoverflow.com/questions/1712494/c-c-open-source-mp3-to-pcm-convertor