6 releases (stable)

Uses old Rust 2015

new 1.0.44 Mar 14, 2023
1.0.43 Dec 4, 2022
1.0.41 Nov 28, 2022
1.0.40 Nov 17, 2022
0.7.0 Nov 16, 2022

#205 in Audio

Download history 56/week @ 2022-11-27 93/week @ 2022-12-04 28/week @ 2022-12-11 36/week @ 2022-12-18 25/week @ 2022-12-25 8/week @ 2023-01-01 21/week @ 2023-01-08 13/week @ 2023-01-15 25/week @ 2023-01-22 33/week @ 2023-01-29 25/week @ 2023-02-05 12/week @ 2023-02-12 42/week @ 2023-02-19 68/week @ 2023-02-26 29/week @ 2023-03-05 45/week @ 2023-03-12

184 downloads per month
Used in 6 crates (3 directly)

MIT license

2MB
39K SLoC

C 33K SLoC // 0.2% comments C++ 3K SLoC // 0.2% comments Rust 3K SLoC // 0.2% comments

This was forked from rust-portaudio since the repo hasn't been updated in years. :( https://github.com/RustAudio/rust-portaudio Great project. WereSoCool wouldn't exist without it. Also brought cc linking from this fork: https://github.com/SergejJurecko/rust-portaudio

rust-portaudio Build Status Crates.io Crates.io

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:

[dependencies]
portaudio = "X.Y.Z"

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