Crate libpulse_sys

Source
Expand description

PulseAudio FFI bindings for the main libpulse system library.

This crate does nothing more than offer a simple FFI binding to the C API of the PulseAudio client system library. Please note that there is a “higher-level” binding available (the libpulse-binding crate), built on top of this, which offers a more Rust-oriented interface.

Unlike the “higher-level” binding just mentioned, virtually no documentation is provided here. Things that are documented here are typically only those directly re-exported by the “higher-level” binding. Please see either the equivalent documentation in that, or the documentation of the actual PulseAudio C header files, if you need documentation.

Re-exports§

pub use self::channelmap::*;
pub use self::context::*;
pub use self::def::*;
pub use self::direction::*;
pub use self::error::*;
pub use self::format::*;
pub use self::mainloop::*;
pub use self::operation::*;
pub use self::proplist::*;
pub use self::rtclock::*;
pub use self::sample::*;
pub use self::stream::*;
pub use self::timeval::*;
pub use self::utf8::*;
pub use self::util::*;
pub use self::version::*;
pub use self::volume::*;
pub use self::xmalloc::*;

Modules§

channelmap
Constants and routines for handing channel mapping.
context
Connection contexts for asynchronous communication with a server.
def
Global definitions.
direction
Utility functions for direction.
error
Error management.
format
Utility functions for handling a stream or sink format.
mainloop
Main loop abstraction layer.
operation
Asynchronous operations.
proplist
Property list constants and functions.
rtclock
Monotonic clock utilities.
sample
Constants and routines for sample type handling.
stream
Audio streams for input, output and sample upload.
timeval
Utility functions for handling timeval calculations.
utf8
UTF-8 validation functions.
util
Assorted utility functions.
version
Version constants and functions.
volume
Constants and routines for volume handling.
xmalloc
Memory allocation functions.