Crates.io | libpulse-simple-sys |
lib.rs | libpulse-simple-sys |
version | 1.21.1 |
source | src |
created_at | 2018-02-01 17:19:49.500366 |
updated_at | 2023-07-18 00:55:18.254698 |
description | FFI bindings for the PulseAudio libpulse-simple system library. |
homepage | https://github.com/jnqnfe/pulse-binding-rust |
repository | https://github.com/jnqnfe/pulse-binding-rust |
max_upload_size | |
id | 49177 |
size | 29,317 |
FFI bindings for the PulseAudio libpulse-simple system library. See also the higher-level
libpulse-simple-binding
crate.
Add the following two crates to the dependencies specified in your Cargo.toml
(you will likely
need to use components from the main FFI crate in addition to this crate itself):
[dependencies]
libpulse-sys = "1.0"
libpulse-simple-sys = "1.0"
Though you may wish to rename the crates to shorter names (for example pulse
and psimple
) for
cleaner references within your code:
[dependencies]
pulse = { version = "1.0", package = "libpulse-sys" }
psimple = { version = "1.0", package = "libpulse-simple-sys" }
An alternative to that which some may prefer is:
[dependencies.pulse]
version = "1.0"
package = "libpulse-sys"
[dependencies.psimple]
version = "1.0"
package = "libpulse-simple-sys"
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.
Licensed under either of
at your option.
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.