Use port device name when available, this usually identifies a device profile...
Fixes #139
Also fixes a Pulse active_profile
deprecation by moving to active_profile2
.
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
[ASUS MG279]
and [27QHD240]
on this screenshot is added by this PR:
I don't do C++, please have mercy.
There is a trim workaround because of pulseaudio#3831 (moved)
EDIT: The trim workaround was needed because of an upstream Nvidia issue for HDMI devices, sent a PR for it here https://github.com/NVIDIA/open-gpu-kernel-modules/pull/715, and PipeWire now works around it since pipewire/pipewire!2139 (merged), so removed it again.