Reorganize the repo so it can rebuild the audio hub on any Pi, not just the live `adac` box: - README.md: now a project landing page (overview, repo map, deploy summary) instead of the adac-specific maintenance guide. - MAINTENANCE.md: the "how it's wired / day-to-day upkeep" guide, genericized with <pi-host>/<pi-ip>/<lan-cidr>/<desktop-host> placeholders. - config/: the actual PipeWire/WirePlumber drop-ins as deploy-ready templates (<VOLT_SOURCE>/<VOLT_SINK>/<LAN_CIDR> placeholders, with the commands to resolve them in each file's header comment). - systemd/bt-agent.service, firmware/config.txt.snippet: the remaining deployable artifacts. - instances/adac.md: the live deployment's real values (host, IP, Volt serial, paired phones, history) — the one place machine-specific data lives. - RUNBOOK.md: replace the hardcoded LAN subnet with <lan-cidr>. - root-README.md: genericized; .gitignore keeps local harness settings out. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
28 lines
1,012 B
Text
28 lines
1,012 B
Text
# Path C: a virtual network sink "Desktop (Volt 3/4)" that forwards stereo into
|
|
# Volt outputs 3/4, giving the desktop its own mixer channel independent of the
|
|
# phone (which lands on outputs 1/2 via the default sink).
|
|
#
|
|
# Replace <VOLT_SINK> with this unit's real Pro-Audio output node. Find it with:
|
|
# pactl list sinks short | grep -m1 'pro-output-0' | awk '{print $2}'
|
|
# e.g. alsa_output.usb-Universal_Audio_Volt_476P_<serial>-00.pro-output-0
|
|
#
|
|
# AUX2/AUX3 = physical outputs 3 & 4.
|
|
context.modules = [
|
|
{ name = libpipewire-module-loopback
|
|
args = {
|
|
node.description = "Desktop (Volt 3/4)"
|
|
capture.props = {
|
|
node.name = "desktop_34"
|
|
node.description = "Desktop (Volt 3/4)"
|
|
media.class = "Audio/Sink"
|
|
audio.position = [ FL FR ]
|
|
}
|
|
playback.props = {
|
|
node.name = "desktop_34.out"
|
|
node.target = "<VOLT_SINK>"
|
|
audio.position = [ AUX2 AUX3 ]
|
|
stream.dont-remix = true
|
|
}
|
|
}
|
|
}
|
|
]
|