Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Demo of Rust bindings for Oboe library

github Crates.io Package Docs.rs API Docs License: Apache-2.0 CI Status

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).

Oboe Demo

Building and running

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