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:
1 parent
c7314f4188
commit
c55883b8ad
10 files changed
+985
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
// WirePlumber/PipeWire binding (native only). See wp_stub.c.
|
||||
import {
|
||||
"geordi/moonmix/model",
|
||||
"moonbitlang/core/encoding/utf8",
|
||||
}
|
||||
|
||||
supported_targets = "-all+native"
|
||||
|
||||
options(
|
||||
"native-stub": [ "wp_stub.c" ],
|
||||
// moon does not expand $(pkg-config ...) in flags; tools/pkg-cc appends
|
||||
// `pkg-config --cflags --libs` for PipeWire, WirePlumber and GTK4.
|
||||
link: { "native": { "stub-cc": "tools/pkg-cc" } },
|
||||
)
|
||||
Reference in new issue
Block a user