1 unstable release

Uses old Rust 2015

0.1.0 Sep 15, 2024

#1707 in Audio

Download history 8122/week @ 2025-11-21 892/week @ 2025-11-28 4834/week @ 2025-12-05 4554/week @ 2025-12-12 805/week @ 2025-12-19 24/week @ 2025-12-26 2713/week @ 2026-01-02 7486/week @ 2026-01-09 6985/week @ 2026-01-16 4272/week @ 2026-01-23 5632/week @ 2026-01-30 7400/week @ 2026-02-06 5034/week @ 2026-02-13 7422/week @ 2026-02-20 4053/week @ 2026-02-27 6086/week @ 2026-03-06

24,034 downloads per month
Used in 6 crates (via portaudio)

MIT license

70KB
693 lines

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