36 releases

Uses old Rust 2015

0.8.0 Oct 13, 2024
0.7.0 Aug 4, 2016
0.6.4 Apr 13, 2016
0.6.3 Feb 25, 2016
0.3.0 Nov 20, 2014

⚠️ Issues reported

#465 in Operating systems

Download history 8932/week @ 2025-06-02 5074/week @ 2025-06-09 3911/week @ 2025-06-16 5412/week @ 2025-06-23 8412/week @ 2025-06-30 4894/week @ 2025-07-07 4377/week @ 2025-07-14 1675/week @ 2025-07-21 4301/week @ 2025-07-28 1724/week @ 2025-08-04 616/week @ 2025-08-11 1386/week @ 2025-08-18 4016/week @ 2025-08-25 1795/week @ 2025-09-01 1911/week @ 2025-09-08 4076/week @ 2025-09-15

11,920 downloads per month
Used in 15 crates (12 directly)

MIT license

195KB
2.5K SLoC

rust-portaudio

Crates.io docs.rs

License Build Status

PortAudio bindings and wrappers for Rust.

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

rust-portaudio is in maintenance mode. Consider using CPAL instead.

Installation

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.

Dependencies

~455–610KB
~13K SLoC