mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
If the profile is generated from UCM, the priority won't be set so it stays as 0. Assume a card has two available profiles, when the selected one becomes unavailable, module-switch-on-port-available's find_best_profile() should pick the next available one. However, since the priority is 0, the "off" profile was chosen instead of the available one. So let's set the priority to 1 to make profile that is available has higher priority than "off" profile. |
||
|---|---|---|
| .. | ||
| mixer | ||
| 90-pulseaudio.rules | ||
| alsa-mixer.c | ||
| alsa-mixer.h | ||
| alsa-sink.c | ||
| alsa-sink.h | ||
| alsa-source.c | ||
| alsa-source.h | ||
| alsa-ucm.c | ||
| alsa-ucm.h | ||
| alsa-util.c | ||
| alsa-util.h | ||
| meson.build | ||
| module-alsa-card.c | ||
| module-alsa-sink.c | ||
| module-alsa-source.c | ||