The code in juce_MP3AudioFormat.cpp is NOT guaranteed to be free from infringements of 3rd-party
intellectual property. If you wish to use it, please seek your own independent advice about the
legality of doing so. If you are not willing to accept full responsibility for the consequences
of using this code, then do not enable the JUCE_USE_MP3AUDIOFORMAT setting.
I was wondering if you’d considered modifying the JUCE MP3 layer, to instead be a wrapper around the MP3 decoder (and encoder…) that’ll almost certainly be available at the platform level on most platforms?
That would remove any license related issues; and offering of an MP3 encoder in this way would be tremendously useful from an app developer perspective…
I also remember we did some support for Windows APIs but don’t remember what exactly (this post not suggesting that but I remember we had such a thing):
Anyway,
System codecs can be tricky if you’re not targeting Apple and Microsoft.
Android - some devices can have different codecs/licenses.
Linux - each flavor is different.
We do have internally, i.e not inside the JUCE fork, a writer for .AAC files on Windows using Media Foundation. But it’s only the writer and only for AAC. Can share it if there’s interest.