flexaudio-os-linux 0.2.0

Linux system and per-process audio capture backend (PipeWire) for flexaudio.
docs.rs failed to build flexaudio-os-linux-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

flexaudio-os-linux

Linux audio capture backend for the flexaudio workspace, built on PipeWire (pipewire 0.10).

Provides PwSystemBackend, which captures the default sink monitor (system output loopback — the audio mix flowing to the speakers) via a PipeWire Stream/Input/Audio stream with stream.capture.sink=true. This is the Linux equivalent of WASAPI loopback on Windows. Per-process capture is also routed through PipeWire.

Because PipeWire's MainLoop / Context / Core / Stream are !Send, the entire PipeWire session runs on a dedicated thread; only Send-safe handles (stop sender, JoinHandle) cross thread boundaries.

Platform requirement: a running PipeWire session is required for system and per-process audio capture. The crate compiles as an empty stub on non-Linux targets (#![cfg(target_os = "linux")]).

Most users should use the flexaudio facade crate instead of this one directly. Depend on flexaudio-os-linux only if you are building a custom Linux audio pipeline that needs direct access to PwSystemBackend.

License

MIT © 2026 tubome / Studio Sadola.