Embed MP3 support by default

• May 27, 2017 - 20:25
Reported version
S4 - Minor

Currently, MuseScore requires the LAME library to export MP3. We couldn't include a MP3 encoder because of patents problem. It seems that the patents are now terminated so we could maybe have "native" MP3 export in a future version of MuseScore.

We could integrate LAME directly or wait for libsndfile to add MP3 support.

Some more info:


Is there a known-good way to enable MP3 export on newer Macs by jumping through some hoops? As Jojo points out above, the previous ways do not work.

MuseScore doesn't link to it on Windows right now. The dll is included and loaded dynamically and MuseScore would still run without it.

MuseScore on Windows and Mac uses a .dll resp. .so. Only change in the Windows version is that we now made lame_enc.dll part of the MuseScore package. The way in which it gets linked in hasn't change at all.

The approach on mac seems to work ! Just tested on the oldest supported mac, macbook white from mid 2007 running Mac OSX Lion 10.7.5