Skip to content
PortAudio bindings and wrappers for Rust.
Branch: master
Clone or download

Latest commit

mitchmindtree Merge pull request #176 from Atul9/cargo-fmt
Format code using 'cargo fmt'
Latest commit 398dd3b Apr 16, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Replace deprecated try!() with ? Apr 1, 2019
rust-portaudio-sys do not capture build script output Sep 13, 2017
src Format code using 'cargo fmt' Apr 16, 2019
.travis.yml Remove osx from travis until confirmed working build script. Remove t… Oct 31, 2015
LICENSE update asio, mac_core and pa. Sep 5, 2013 Updated repo badge to svg Feb 14, 2018

rust-portaudio Build Status

PortAudio bindings and wrappers for Rust.

PortAudio is a free, cross-platform, open-source, audio I/O library.

rust-portaudio is still under development, so there may be bugs - please feel free to add an issue or even better, submit a PR!

To use rust-portaudio in your own project, add it to your Cargo.toml dependencies like so:

portaudio = "X.Y.Z"


rust-portaudio will try to detect portaudio on your system and, failing that (or if given the PORTAUDIO_ONLY_STATIC environment variable on the build process), will download and build portaudio statically. If this fails please let us know! In the mean-time, you can manually download and install PortAudio yourself.

On Mac OS X, you may need to install manually portaudio and pkg-config (using brew, run brew install portaudio and brew install pkg-config)

rust-portaudio is built using cargo, so just type cargo build at the root of the rust-portaudio repository.

You can build the tests and examples with cargo test, and the documentation with cargo doc.

You can’t perform that action at this time.