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

Modules

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