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>
This commit is contained in:
SpriteandClaude Opus 5.5 committed 2026-11-22 22:28:50 +00:00
1 parent c7314f4188
commit c55883b8ad
10 files changed
+985

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// Headless probe: prints what each tab shows, can apply one action.
import {
"geordi/moonmix/model",
"geordi/moonmix/wp",
"moonbitlang/core/env",
"moonbitlang/core/string",
}
supported_targets = "-all+native"
pkgtype(kind: "executable")
options(
link: { "native": { "cc": "tools/pkg-cc" } },
)