pulseaudio/src/modules
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
..
alsa alsa sink/source: Allow alsa to use alternative smoother code 2021-11-03 21:13:38 +00:00
bluetooth bluetooth: Fix device->adapter dependency while releasing discovery 2021-11-17 15:30:03 +00:00
dbus treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
echo-cancel virtual sources: Include resampler delay in latency reports 2021-11-03 18:37:31 +00:00
gsettings build-sys: meson: Make glib and fftw common dependencies 2021-11-17 16:06:23 +00:00
jack Add port order metadata to JACK sink / source ports 2021-05-03 12:19:17 +00:00
macosx macos: Add missing import statement 2020-09-28 15:44:38 +03:00
oss oss: parse device names correctly on FreeBSD 2021-01-18 16:33:53 +00:00
raop raop-sink: Allow module-raop-sink to use alternative smoother code 2021-11-03 21:13:38 +00:00
rtp rtp: Initialize adapter to NULL for early pipeline error 2021-08-06 22:45:26 +03:00
x11 x11: Close session manager connection on ICE I/O error callback 2021-11-03 15:29:02 +00:00
ladspa.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
meson.build build-sys: meson: Make glib and fftw common dependencies 2021-11-17 16:06:23 +00:00
module-allow-passthrough.c allow-passthrough: fix hook return value 2018-05-07 16:53:57 +03:00
module-always-sink.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-always-source.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-augment-properties.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-card-restore.c card-restore: setting preferred ports in entry_from_card 2021-11-18 12:04:16 +08:00
module-cli.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-combine-sink.c combine-sink: Allow module-combine-sink to use alternative smoother code 2021-11-03 21:13:38 +00:00
module-combine.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-console-kit.c set exit_idle_time to 0 when we detect a session 2018-06-21 06:02:21 +05:30
module-default-device-restore.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-detect.c detect: fix/improve FreeBSD support 2021-01-18 16:33:53 +00:00
module-devd-detect.c module-devd-detect: new module for soundcard hotplug on FreeBSD 2021-01-18 16:33:53 +00:00
module-device-manager.c database: extract common method to handle machine id and architecture 2021-01-07 23:27:16 +00:00
module-device-restore.c database: extract common method to handle machine id and architecture 2021-01-07 23:27:16 +00:00
module-equalizer-sink.c database: extract common method to handle machine id and architecture 2021-01-07 23:27:16 +00:00
module-esound-compat-spawnfd.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-esound-compat-spawnpid.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-esound-sink.c esound-sink: Allow module-esound-sink to use alternative smoother code 2021-11-03 21:13:38 +00:00
module-filter-apply.c filter-apply: Look for filter parameters also in device properties 2020-12-14 21:01:16 +00:00
module-filter-heuristics.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-hal-detect-compat.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-intended-roles.c source: move the streams to the default_source when the source unlink 2019-12-14 18:40:19 +00:00
module-ladspa-sink.c ladspa-sink: do not call pa_sink_suspend if PA_SINK_IS_LINKED is false 2021-01-04 12:19:07 +00:00
module-lirc.c lirc: Fix module version 2021-11-06 13:45:30 +03:00
module-loopback.c loopback: Add log_interval parameter 2021-11-07 18:17:37 +00:00
module-match.c module-match: Allow loading module more than once 2020-12-07 21:38:05 +05:30
module-mmkbd-evdev.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-native-protocol-fd.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-null-sink.c null-sink: Recalculate max_request and max_rewind while resuming sink 2021-11-03 15:59:22 +00:00
module-null-source.c null-source: Change max_rewind when the latency changes 2021-02-01 16:03:46 +00:00
module-pipe-sink.c core, modules: Remove useless EINTR tests 2020-12-09 10:28:15 +00:00
module-pipe-source.c core, modules: Remove useless EINTR tests 2020-12-09 10:28:15 +00:00
module-position-event-sounds.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-protocol-stub.c win32: Fix (interim) esound paths in module-protocol-stub.c 2020-12-16 11:05:28 -05:00
module-remap-sink.c sink-input, source-output: remove the state getters 2018-07-02 18:54:03 +03:00
module-remap-source.c virtual sources: Include resampler delay in latency reports 2021-11-03 18:37:31 +00:00
module-rescue-streams.c source: move the streams to the default_source when the source unlink 2019-12-14 18:40:19 +00:00
module-role-cork.c role-ducking, role-cork: Add use_source_trigger argument 2019-03-26 14:54:15 +00:00
module-role-ducking.c role-ducking, role-cork: Add use_source_trigger argument 2019-03-26 14:54:15 +00:00
module-rygel-media-server.c treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
module-sine-source.c pass pa_suspend_cause_t to set_state_in_io_thread() callbacks 2018-03-20 13:00:44 +02:00
module-sine.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-solaris.c solaris: Allow module-solaris to use alternative smoother code 2021-11-03 21:13:38 +00:00
module-stream-restore.c stream-restore: make version check stricter when dropping old entries 2021-07-09 12:32:27 +03:00
module-suspend-on-idle.c sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
module-switch-on-connect.c switch-on-connect: Blacklist HDMI devices by default 2019-12-27 11:24:36 +02:00
module-switch-on-port-available.c card: handle sticky profile flag 2021-06-10 10:30:58 +00:00
module-systemd-login.c set exit_idle_time to 0 when we detect a session 2018-06-21 06:02:21 +05:30
module-tunnel-sink-new.c tunnel-sink-new: log buffer events 2020-12-09 11:54:37 +00:00
module-tunnel-source-new.c pass pa_suspend_cause_t to set_state_in_io_thread() callbacks 2018-03-20 13:00:44 +02:00
module-tunnel.c tunnel: Allow module-tunnel to use alternative smoother code 2021-11-03 21:13:38 +00:00
module-udev-detect.c ucm: add possibility to skip the UCM card completely (Linked) 2020-09-17 14:52:50 +00:00
module-virtual-sink.c sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
module-virtual-source.c virtual sources: Include resampler delay in latency reports 2021-11-03 18:37:31 +00:00
module-virtual-surround-sink.c virtual-surround-sink: Use FFTW3 instead of naive approach 2020-11-24 03:56:02 +00:00
module-volume-restore.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-waveout.c Win32: Use WAVEFORMATEX for multi-channel audio output on Windows. 2021-03-23 13:12:38 -04:00
module-zeroconf-discover.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-zeroconf-publish.c treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
reserve-monitor.c treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
reserve-monitor.h More spelling fixes 2011-08-25 11:27:47 +01:00
reserve-wrap.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
reserve-wrap.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
reserve.c treewide: Use DBus defines instead of direct string literals 2021-02-01 16:10:11 +00:00
reserve.h reserve: Move get_name_owner() to the public rd_device API 2013-01-31 13:56:25 +02:00
stdin-util.c module-gsettings: Handle I/O hangup 2021-07-04 11:14:37 +03:00
stdin-util.h gconf, gsettings: fix config.h includes 2018-04-19 14:38:18 +03:00
stream-interaction.c stream-interaction: Remove useless condition 2019-03-26 14:54:15 +00:00
stream-interaction.h role-cork: prepare merge with role-ducking: replace "cork" with "interact" where appropriate 2016-03-15 13:02:04 +02:00
udev-util.c Revert "udev: use ID_MODEL/ID_VENDOR to give friendly name for FireWire devices" 2021-08-11 15:04:07 +00:00
udev-util.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00