#api-bindings #3d

libaudioverse

Libaudioverse bindings for Rust

1 unstable release

Uses old Rust 2015

0.1.0 Jan 2, 2018

#589 in Audio

MIT license

125KB
1K SLoC

Rust-Libaudioverse

Rust bindings for Libaudioverse, a highly flexible realtime audio synthesis library.

Documentation

crates.io documentation.

Requirements

  • Llatest stable Rust.
  • Libaudioverse binaries. The easiest way to obtain these is through the automated CI builds from the main Libaudioverse repository. If on Windows using MSVC and Rustup,
    1. Copy libaudioverse.lib into C:\Users\\{Your Username}\\.multirust\toolchains\\{current toolchain}\lib\rustlib\\{current toolchain}\lib, where current toolchain is likely stable-x86_64-pc-windows-msvc.
    2. Copy libaudioverse.dll and libsndfile-1.dll into the same directory as your binary.

Installation

From crates.io:

    [dependencies]
    libaudioverse = "0.1"

Alternatively, pull from GitHub to obtain the latest development version:

    [dependencies.libaudioverse]
    git = "https://github.com/Neurrone/rust-libaudioverse"

Generating libaudioverse-sys with bindgen

The optional feature "use-bindgen" generates bindings using the included libaudioverse headers, which requires bindgen to be installed. Generating this shouldn't be necessary in most cases.

Dependencies