Skip to content

Use port device name when available, this usually identifies a device profile...

Martin Rys requested to merge C0rn3j/pavucontrol:master into master

Use port device name when available, this usually identifies a device profile by its actual hardware device. Useful for controllers like HDMI which can bundle devices together

Also fixes a Pulse active_profile deprecation.

Fixes #139

There is a trim workaround because the product name for ports is set to a minimum length by Pulse for some reason, PipeWire does not do this.
pulseaudio#3831

pactl --format=json list cards | python -m json.tool | grep -P "                \"device.product.name"
                    "device.product.name": "27QHD240\n    "
                    "device.product.name": "ASUS MG279\n  "

[0] % pw-cli info all | grep MG
*               alsa.name = "ASUS MG279"
*               node.nick = "ASUS MG279"

"[ASUS MG279]" and the second device too is added here compared to normal:
image

I don't do C++, please have mercy.

Edited by Martin Rys

Merge request reports