This repository contains low-level bindings for Resonance Audio
Use cargo doc --open
. This is not on crates.io yet, since this is highly experimental, and doesn't work yet due to problems binding to C++.
- Llatest nightly Rust.
- The Resonance Audio library statically built for linking. See the Resonance Audio repo for build instructions. For rustc to find it, either set the
RESONANCE_LIB_DIR
environment variable to the directory containing the library, or place it in the lib subfolder. The latter option is provided as a development convenience.
Clone from GitHub to obtain the latest development version, then cargo build
.
The optional feature "use-bindgen" generates the low level bindings using the included headers, which requires bindgen to be installed. Generating this shouldn't be necessary in most cases, as the bindings have already been bundled with this crate.