Hello, JUCE-y people.
I can see that our little non-free, non-open source Windows/Mac application will need to be reading mp3s in a few months so I thought I’d start my research now - which I’ve been doing. I suspect within the next year we’ll need to write mp3s as well so tips in that direction will be welcome too.
Of course, the issue is that mp3 is patent-protected so there don’t exist open source decoders that can be used in a commercial product - but at the same time you don’t want to unnecessarily pay royalties - or force your user to pay royalties.
It seems to me that there is no problem for Mac users - I believe all modern Macs come with Quicktime, or requiring them to download it is fine (they’re a Mac and should have QT).
And there’s no problem for Windows users who happen to have Quicktime either - BUT I don’t think it’s at all acceptable to require Windows users to download QT before using some features of our program, at least, I think I might find it objectionable if I were a client (though I don’t really know how Windows users think…) And Windows users with no QT comprise something like 80-90% of our market - of any market.
So we have a decision tree
- Is Quicktime available? Use that.
- Is Lame available? Use that.
- Otherwise, use some paid solution.
So my questions are…
- How do you detect and use dynamic libraries like Lame in a platform-independent (or at least dual-platform) way?
- What paid solutions for mp3 decoding have people successfully used?
Of course, I’m not necessarily expecting answers and will eventually post here with answers otherwise…