Neurrone / resonance-audio-sys

Low level Rust bindings for Resonance Audio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resonance-Audio-Sys: low level Rust bindings to Resonance Audio

This repository contains low-level bindings for 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 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 to be installed. Generating this shouldn't be necessary in most cases, as the bindings have already been bundled with this crate.

About

Low level Rust bindings for Resonance Audio


Languages

Language:C++ 83.4%Language:Rust 16.6%