I've got it using dbus, doing funky stuff with Xlib, working with pipewire using the pulseaudio protocol which it implemented itself (after I told it to quit using libraries for it.) You can't one-shot complicated problems, at least not without extensive careful prompting, but at this point I believe I can walk it through pretty much anything I can imagine wanting done.