liblame is LGPL. You may use it if you respect certain rules, such as offering
users a way to relink. It was a bit complicated, but I did this in my app for
some other LGPL libs, and it works fine. I can give more details if you like.
You might also want to look at FFMpeg. It's usually very optimized, and I'm
almost sure they have their own (LGPL) decoder.
libmad is nice too because fixed-point. However, this one's GPL, but a
commercial license can be acquired from Underbit.
You could also try and dig into Android source code, maybe there's a BSD decoder
in there?
Anyway, don't forget that mp3 is patented, and whatever lib you use, putting a
decoder into your app may cost you quite a lot of money :(
--
Olivier
Frankly, I'd just pass the mp3 up to the Java layer and play it from
there, at least until some official audio APIs arrive for the NDK, if
they do at all...
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
>
>
Olivier