Skip to content

Centralize audio control in a shared Rust service - #15

Merged
ssupt merged 48 commits into
mainfrom
feat/rust-service
Sep 27, 2026
Merged

ssupt merged 48 commits into
mainfrom
feat/rust-service

Conversation

@ssupt

@ssupt ssupt commented Sep 9, 2026 •

Copy link
Copy Markdown
Owner

Moves audio control into a shared Rust service for the quick mixer and advanced window.

  • Coordinates device settings, application routing, output groups, saved scenes, and diagnostics through PipeWire and WirePlumber.
  • Keeps audio operations and saved choices consistent across panel reloads, with clear results when a change cannot be applied or saved.
  • Runs fewer helper processes and uses less CPU.
  • Includes a prebuilt service and matching QML runtime for standard Omarchy installation.

Integrates with Advanced Bluetooth Audio for shared device preferences and audio selection.

Move the existing UI into feature folders and update imports, helper paths, manifest entries and test paths. The helper suite and a real Omarchy upgrade/rollback check pass before introducing the Rust service.
Move graph identities, mutations, persistence, scenes, diagnostics and microphone jobs behind one shell-owned service. Keep guarded helpers for the remaining PipeWire and WirePlumber operations, and package matching sources, binary and QML runtime together.

Add private graph, protocol, cancellation, lifecycle, upgrade and release regressions with CI candidate builds. Apply the output boost ceiling to playback apps and defer unused advanced-tab lists. Extend the safe-symlink fix merged in #14 to Rust and pin Bash lock opens to the validated directory.
Explain installation, runtime ownership, configuration compatibility, controls, measured resource tradeoffs and remaining hardware validation. Include real mixer and advanced-window screenshots while keeping development reports outside the project.
Install pipewire-audio explicitly in the clean Arch runtime job. Express the existing channel-map bound as a match guard for current stable Clippy without changing accepted data. Rebuild the matching self-contained bundle as dev.9.
@ssupt ssupt changed the title Port audio control to a shared Rust service Centralize audio control in a shared Rust service Sep 9, 2026
ssupt and others added 19 commits September 10, 2026 17:09
Port the fallback from PR #16 with paused-stream priority and regression coverage.

Co-authored-by: MACHO MAN <machoxv@protonmail.com>
Share native port selection between the advanced panel and scenes. Validate node and device identities, wait for fresh route observations, and verify rollback before reporting failure. Remove the replaced helper and mocks.
ssupt and others added 14 commits September 23, 2026 11:44
UCM cards such as the Focusrite Scarlett 2i2 give every PipeWire node the
card name as node.nick, so "Input 1" and "Input 2" (and the output) all
rendered as "Scarlett 2i2 USB" in the device lists. When a UCM node's nick is
just the ALSA card name, append its device.profile.description so each port
has a distinct label. Per-port nicks (e.g. laptop "Headphones", "HDMI 1") and
non-UCM devices are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apply Mahmoud Saada’s UCM port label rule to the editable Rust-branch QML source, add the regression cases, and regenerate the versioned release bundle.

Co-authored-by: Mahmoud Saada <mahmoudsaada@gmail.com>
The Rust branch already contains the editable QML change and matching generated release from 4c38eee. Resolve the duplicated generated QML and test edits in favor of that checked bundle while retaining the contributor commit in history.
@ssupt
ssupt marked this pull request as ready for review September 27, 2026 11:13
@ssupt
ssupt merged commit f561410 into main Sep 27, 2026
5 checks passed
@ssupt
ssupt deleted the feat/rust-service branch September 27, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants