Le 2024-08-13 à 11 h 36, Robin Gareus a écrit :
This is something where macOS' Coreaudio/MIDI
shines. Unlike macOS
Linux/ALSA has no persistent unique IDs for soundcards or MIDI
devices. ALSA supports hotplug, and first come first server sequential
numeric IDs. The best you^Wpipewire can do is keep track of cards by
name.
So this is not something pipewire can reliably address, until ALSA get
support to identify cards by vendor and serial-number, and provide a
UUID.
I use a variation of this udev rule to assign names for my sound devices:
https://gist.githubusercontent.com/mpaolino/91c3587045fa8d1a9353b74bf102c83…
Marc