Demo of Rust interface for Oboe High-Performance Audio library for Android. Also it provides interface for some platform APIs significant to Audio IO.
Oboe is a C++ library which makes it easy to build high-performance audio apps on Android. It was created primarily to allow developers to target a simplified API that works across multiple API levels back to API level 16 (Jelly Bean).
First install cargo-mobile2 tool:
$ cargo install cargo-mobile2
Next generate project data:
$ cargo mobile init
Connect to your Android device using adb:
adb connect <ip-addr>
Build and run demo on connected device:
$ cargo mobile android run
Alternatively build apk binaries to install it manually:
$ cargo mobile android apk build --release --split-per-abi
To skip build for all supported targets specify needed only as following:
$ cargo mobile android apk build --release aarch64
