I've used ffmpeg but that was under the LGPL. I switched to sfml but the audio import library it uses also is under the LGPL. I want to statically link the library without having to use the LGPL license for my project. Are there any alternatives besides using a single format library?

有帮助吗?

解决方案

libaudiodecoder decodes MP3, M4A, and WAVE on Windows and Mac OS X (+ WMA on Windows). It's available under an MIT license, which allows for static linking in closed source projects.

As a bonus, it works by wrapping the native audio decoding APIs on each platform, so you don't have to ship any (possibly patented) decoders with your software.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top