#sys #binding #pulse #pulseaudio #audio

sys libpulse-sys

A Rust language linking library for the PulseAudio libpulse library

31 stable releases

new 1.15.1 Nov 25, 2020
1.13.2 Sep 9, 2020
1.13.1 Jun 1, 2020
1.12.1 Dec 29, 2019
0.0.0 Jan 11, 2016

#168 in Audio

Download history 1079/week @ 2020-08-06 1112/week @ 2020-08-13 1163/week @ 2020-08-20 1081/week @ 2020-08-27 920/week @ 2020-09-03 909/week @ 2020-09-10 901/week @ 2020-09-17 980/week @ 2020-09-24 1104/week @ 2020-10-01 1115/week @ 2020-10-08 1203/week @ 2020-10-15 1065/week @ 2020-10-22 1046/week @ 2020-10-29 1114/week @ 2020-11-05 1015/week @ 2020-11-12 1087/week @ 2020-11-19

4,479 downloads per month
Used in 20 crates (8 directly)

MIT/Apache

160KB
2K SLoC

libpulse-sys

travis.com crates.io docs.rs min-rust-version

A Rust language linking library for the PulseAudio libpulse library. See also the higher-level libpulse_binding crate.

Usage

Add this to your Cargo.toml:

[dependencies]
libpulse-sys = { version = "1.0", features = "" }

and this to your crate root:

extern crate libpulse_sys as pulse;

Finally, fill in the features attribute of the dependency added above with the right compatibility flag (listed within this crates’ toml file) to disable functionality for versions of the PulseAudio client library that are too new for you. (This crate targets the entire PA client C API, and you will naturally encounter problems where mismatching version support with the version of PA on your systems). See the overall project COMPATIBILITY.md file for further details.

Dependencies

~0.5–1MB
~25K SLoC