https://github.com/neurrone/resonance-audio-sys
Low level Rust bindings for Resonance Audio
https://github.com/neurrone/resonance-audio-sys
Last synced: about 1 year ago
JSON representation
Low level Rust bindings for Resonance Audio
- Host: GitHub
- URL: https://github.com/neurrone/resonance-audio-sys
- Owner: Neurrone
- Created: 2018-09-19T13:35:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T13:37:40.000Z (over 7 years ago)
- Last Synced: 2025-02-13T03:27:35.740Z (over 1 year ago)
- Language: C++
- Size: 5.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Resonance-Audio-Sys: low level Rust bindings to Resonance Audio
This repository contains low-level bindings for [Resonance Audio](https://developers.google.com/resonance-audio/)
## Documentation
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++.
## Requirements
* Llatest nightly Rust.
* The Resonance Audio library statically built for linking. See the [Resonance Audio repo](https://github.com/resonance-audio/resonance-audio) 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.
## Installation
Clone from GitHub to obtain the latest development version, then `cargo build`.
## Generating the resonance-audio-sys bindings with bindgen
The optional feature "use-bindgen" generates the low level bindings using the included headers, which requires [bindgen](https://github.com/rust-lang-nursery/rust-bindgen) to be installed. Generating this shouldn't be necessary in most cases, as the bindings have already been bundled with this crate.
[crates]: https://crates.io/