What should I use in Android when porting C++ code written with libsndfile?

巧了我就是萌 提交于 2019-12-04 09:09:27

libsndfile can be compiled for Android using the Native Development Kit. Once you have the library compiled for Android, you should be able to use JNI to access it from Java.

Why don't you just keep this code in C++ and invoke it in your Java through JNI ?

If you can port libsndfile using the NDK, why not just use the NDK to port your C++ code directly and not worry about porting it to java?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!