LabyMod / opus-jni

Simple Java Opus library
GNU General Public License v3.0
37 stars 10 forks source link

Can i use it for Adnroid? #2

Open xll1652814553 opened 4 years ago

zortax commented 4 years ago

Shouldn't be a problem in theory. There is currently no Android build target for the native part though.

xll1652814553 commented 4 years ago

I think the .so package should work, but I don't have a liunx environment to build it.Thanks for anyway.I'll try it by vps.

zortax commented 4 years ago

@xll1652814553 You can find compiled linux binaries in the Jar File over here. I wouldn't be too sure they are linked against a proper GLibc version, but you could give it a try. Also, you need to provide libopus via the library path (it is, at least in that release, not statically linked). If you get it to work, please let me know, so we can add instructions to the Readme file.

Janrupf commented 4 years ago

The new version should in theory work on android as long as it is compiled against it. Since it compiles opus from source, it would make sure that it is linked against the android libraries. However, the currently available Jars wont include android support.