pulseaudio/src
Hui Wang 484b69863f card-restore: setting preferred ports in entry_from_card
If the preferred ports are not set in this function, the
entrys_equal() always returns false in the card_put_hook_callback().
This will make the entry be written into the metadata and the
preferred ports will be cleaned by a mistake.

And we met a hdmi audio bug which has sth to do with this issue, on
the machines with the legacy HDA audio driver, the hdmi port has lower
priority than speaker, users need to manually select the hdmi to be
active output port, then the preferred output port is hdmi for this
sound card, after reboot, the card_put_hook_callback() in the
module-card-restore.c will be called and the preferred ports are
cleaned by a mistake, then the hdmi output port or hdmi sink couldn't
switch to be active after reboot or resume automatically. That is
because the preferred ports are cleaned and hdmi port has lower
priority than speaker, the profile_good_for_output() in the
module-switch-on-port-available.c always returns false.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
2021-11-18 12:04:16 +08:00
..
daemon build-sys: meson: Allow building the daemon only 2021-11-17 16:06:23 +00:00
modules card-restore: setting preferred ports in entry_from_card 2021-11-18 12:04:16 +08:00
pulse stream: Allow stream.c to use alternative smoother code 2021-11-03 21:13:38 +00:00
pulsecore pulsecore/shm: Remove shm_marker struct packing for pa_atomic_t fields 2021-11-05 07:50:56 +00:00
tests tests: Add passthrough test back to daemon tests 2021-11-17 16:44:29 -05:00
utils build-sys: meson: Fix indentation in daemon/client blocks 2021-11-17 16:06:23 +00:00
.gitignore tests: Add resampler rewind test 2021-11-03 18:37:31 +00:00
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
meson.build build-sys: meson: Fix indentation in daemon/client blocks 2021-11-17 16:06:23 +00:00