Table of Contents
This document supplements the Gentoo wiki PipeWire as JACK documentation, in context of LADIOS.
These instructions are based on post by ironhouzi at LinuxMusicians forum on topic "Fedora Pipewire Low Latency Audio Configuration Reference Guide V.1.02"
pw-dump \
$(wpctl inspect @DEFAULT_AUDIO_SINK@ | \
grep "device.id" | \
awk -F'"' '{gsub(/"/, "", $NF); print $2}') | \
python3 -c 'import json, sys;'\
'dev, = (d for d in json.load(sys.stdin) if d["type"].endswith("Device"));'\
'profile, = (p for p in dev["info"]["params"]["EnumProfile"]'\
' if p["name"] == "pro-audio");'\
'print("wpctl set-profile", dev["id"], profile["index"])' | bash
curl -o wp-profile https://dl.ladish.org/wp-profile/wp-profile.py
chmod +x wp-profile
./wp-profile
Example output:
Default audio device is hw:2 "UMC404HD 192k" "UMC404HD 192k" profiles: 0: [off] "Off" priority: 0 1: [HiFi] "Default" priority: 9300 2: [Direct] "Direct UMC404HD 192k" priority: 2000 3: [pro-audio] "Pro Audio" priority: 1 To set pro-audio profile of default audio device run: wpctl set-profile 64 3
In apropriate pipewire configuration file, set jack.self-connect mode to ignore-external and optionally enable aliases: