pulseaudio/src/modules/alsa
Kai-Heng Feng dd70c3c589 module-alsa-card: Set a minimum profile priority if it's not set
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.
2020-08-10 11:52:31 +00:00
..
mixer alsa-mixer: Recognize USB audio jack mixer 2020-08-05 00:42:26 +08:00
90-pulseaudio.rules udev: fix too long card name with HyperX Cloud Orbit S 2020-08-04 12:40:22 +00:00
alsa-mixer.c alsa-mixer: add support for Astro A50 gaming headset 2020-07-26 04:39:40 +00:00
alsa-mixer.h alsa-mixer: add description-key to Mappings and Profiles 2020-07-26 04:39:40 +00:00
alsa-sink.c alsa: adjust ucm sink/source priority according to ports priority 2020-07-17 09:20:50 +00:00
alsa-sink.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
alsa-source.c alsa: adjust ucm sink/source priority according to ports priority 2020-07-17 09:20:50 +00:00
alsa-source.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
alsa-ucm.c alsa-ucm: Fix NULL pointer handling 2020-07-06 12:47:19 +03:00
alsa-ucm.h alsa ucm: set device port type 2020-06-17 06:06:12 +00:00
alsa-util.c alsa-util: fix check for digit 2020-08-03 09:58:39 +02:00
alsa-util.h alsa: rewrite mixer open/close, cache mixer accesses in probe 2019-12-23 11:10:44 +00:00
meson.build meson: link libintl if it's not provided by libc 2019-09-25 04:42:03 +00:00
module-alsa-card.c module-alsa-card: Set a minimum profile priority if it's not set 2020-08-10 11:52:31 +00:00
module-alsa-sink.c alsa: Document that mixer elements can be identified by a combination of name and index 2020-02-14 11:01:04 +02:00
module-alsa-source.c alsa: Document that mixer elements can be identified by a combination of name and index 2020-02-14 11:01:04 +02:00