#binding #pulseaudio #audio

libpulse-binding

A Rust language binding for the PulseAudio libpulse library

26 stable releases

2.23.0 Jan 30, 2021
2.22.0 Dec 22, 2020
2.18.1 Nov 25, 2020
2.16.1 Jul 10, 2020
1.0.3 Feb 10, 2018

#4 in Audio

Download history 650/week @ 2020-11-15 724/week @ 2020-11-22 647/week @ 2020-11-29 626/week @ 2020-12-06 629/week @ 2020-12-13 557/week @ 2020-12-20 424/week @ 2020-12-27 677/week @ 2021-01-03 567/week @ 2021-01-10 777/week @ 2021-01-17 838/week @ 2021-01-24 989/week @ 2021-01-31 1246/week @ 2021-02-07 1469/week @ 2021-02-14 1106/week @ 2021-02-21 1140/week @ 2021-02-28

2,734 downloads per month
Used in 12 crates (9 directly)

MIT/Apache

770KB
9K SLoC

libpulse-binding

GitHub Workflow Status crates.io docs.rs min-rust-version

A Rust language binding for the PulseAudio libpulse library.

Usage

Add this crate to the dependencies specified in your Cargo.toml:

[dependencies]
libpulse-binding = "2.0"

Though you may wish to rename the crate to a shorter name (for example pulse) for cleaner references within your code:

[dependencies]
pulse = { version = "2.0", package = "libpulse-binding" }

An alternative to that which some may prefer is:

[dependencies.pulse]
version = "2.0"
package = "libpulse-binding"

PulseAudio version compatibility

The default functionality provided is support for PulseAudio version 8.0 or newer. This should be good enough for most needs, however if you need to use something only available in a newer version then you can select the corresponding version compatibility feature to raise the minimum compatibility level. You can also reduce support down to even older versions if you wish. See the overall project COMPATIBILITY.md file for further details.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.5–1MB
~24K SLoC