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/91c3587045fa8d1a9353b74bf102c83b/raw/e2d4628075c42a343453435d0e984a7da37eda94/95-static-soundcard-name.rules

Marc
_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org

Reply via email to