mirror of
https://github.com/doukutsu-rs/cpal.git
synced 2026-08-24 13:03:40 -07:00
An error occurs when compiling `oboe-sys` 0.5.0, so intergating the latest upstream changes seems like the easiest solution to fix the Android build. The commits replacing `oboe` with `ndk-audio`/`aaudio` weren't merged, as this would increase the minimum supported Android version to 8.0 (API level 26)
How to install
trunk is used to build and serve the example.
cargo install --locked trunk
# -- or --
cargo binstall trunk
How to run in debug mode
# Builds the project and opens it in a new browser tab. Auto-reloads when the project changes.
trunk serve --open
How to build in release mode
# Builds the project in release mode and places it into the `dist` folder.
trunk build --release
What does each file do?
-
Cargo.tomlcontains the standard Rust metadata. You put your Rust dependencies in here. You must change this file with your details (name, description, version, authors, categories) -
The
srcfolder contains your Rust code.