audiolgpl

Audio import library that is not under the LGPL?


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?


Solution

  • 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.