Rust PulseAudio API
pulsectl is a high-level wrapper around the PulseAudio bindings supplied by
libpulse-binding to make application development easier. It provides simple
access to sinks, inputs, sources and outputs, allowing one to write audio control
programs with ease. This library is only capable of modifying PulseAudio data
(e.g. changing volume, routing applications and muting).
This is a fork of pulsectl-rs which is a fork of
JojiiOfficial/pulsectl-rust-fork which in turn is a fork of
krruzic/pulsectl-rust.
Example
List all currently connected playback devices.
Cargo.toml:
[]
= "0.3"
src/main.rs:
use SinkController;
use DeviceControl;
For more detailed examples, check the examples directory.