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>
15 lines
414 B
Plaintext
15 lines
414 B
Plaintext
// 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" } },
|
|
)
|