Commit Graph
3 Commits
Author SHA1 Message Date
SpriteandClaude Opus 5.5 6c7f45d5f9 fix: make the smoke test check results and avoid a WirePlumber stall
CI / native (pull_request) Failing after 1m4s
CI / check (pull_request) Successful in 9s
The smoke test only checked exit codes, so CI passed the probe steps
even though volume and mute never changed. Each step now asserts the
expected state after the action and prints pw-cat, WirePlumber and node
diagnostics on failure.

The test microphone was a null-audio-sink with a Source media class.
WirePlumber's event dispatcher intermittently stalls on such a node and
then links nothing and ignores volume changes, which is what failed in
CI. It is now a loopback virtual source, like echo-cancel; three local
runs in a row pass. Screenshots are re-rendered from the new setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:58:18 +00:00
SpriteandClaude Opus 5.5 169fb542df chore: headless smoke test and screenshots
tools/smoke-test.sh starts a private PipeWire + WirePlumber with null
sinks/source and test streams, exercises every action through
moonmix-probe and renders the GUI offscreen under broadway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:28:51 +00:00
SpriteandClaude Opus 5.5 c55883b8ad feature: WirePlumber binding and headless probe
Thin C layer over libwireplumber-0.5: an object manager for audio
nodes, links and the default metadata, plus the mixer-api and
default-nodes-api plugins (what wpctl uses internally) for volume, mute
and defaults. Streams are moved by setting target.object in the default
metadata, as pipewire-pulse does. No CLI tools are spawned.

tools/pkg-cc wraps the C compiler to append pkg-config flags because
moon does not expand $(pkg-config ...) in moon.pkg link options.

moonmix-probe prints what each tab shows and can apply one action.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:28:50 +00:00