libsndfile / libsamplerate

An audio Sample Rate Conversion library
http://libsndfile.github.io/libsamplerate/
BSD 2-Clause "Simplified" License
600 stars 167 forks source link

Add android build script #222

Open jg-hot opened 1 month ago

jg-hot commented 1 month ago

Added an android subdirectory for building a prefab package and .aar with the Android NDK and gradle build system.

The build script supports building ready-to-use android library (.aar) via: cd android/ && gradle assembleRelease

Tests may be run on a connected device or emulator via: cd android/ && gradle ndkTest

See the included documentation in docs/android.md for details.