diff -Nru pulseaudio-13.0/debian/changelog pulseaudio-13.0/debian/changelog --- pulseaudio-13.0/debian/changelog 2019-09-18 14:47:54.000000000 +0800 +++ pulseaudio-13.0/debian/changelog 2019-12-18 13:26:53.000000000 +0800 @@ -1,3 +1,11 @@ +pulseaudio (1:13.0-1ubuntu1.1) eoan; urgency=medium + + * Add 0031-lp1847570-Revert-switch-on-connect-Do-not-ignore-HDMI-sinks.patch + to revert to PulseAudio v12 behaviour and ignore monitors with HDMI ports. + At least until a proper solution arrives in PulseAudio v14. (LP: #1847570) + + -- Daniel van Vugt Wed, 18 Dec 2019 13:26:53 +0800 + pulseaudio (1:13.0-1ubuntu1) eoan; urgency=medium * Merged Debian version 13.0-1 diff -Nru pulseaudio-13.0/debian/patches/0031-lp1847570-Revert-switch-on-connect-Do-not-ignore-HDMI-sinks.patch pulseaudio-13.0/debian/patches/0031-lp1847570-Revert-switch-on-connect-Do-not-ignore-HDMI-sinks.patch --- pulseaudio-13.0/debian/patches/0031-lp1847570-Revert-switch-on-connect-Do-not-ignore-HDMI-sinks.patch 1970-01-01 08:00:00.000000000 +0800 +++ pulseaudio-13.0/debian/patches/0031-lp1847570-Revert-switch-on-connect-Do-not-ignore-HDMI-sinks.patch 2019-12-18 13:25:33.000000000 +0800 @@ -0,0 +1,34 @@ +Description: Revert "switch-on-connect: Do not ignore HDMI sinks" + This reverts commit bae8c16bfadb43c596b03f9c7ff7c9e9f1709b76. + While upstream is aware of this commit causing problems they are instead + aiming for some kind of non-reverting fix in future for PulseAudio 14.0. +Author: Daniel van Vugt +Bug: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/749 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1847570 +Forwarded: not-needed +Last-Update: 2019-12-11 + +Index: pulseaudio/src/modules/module-switch-on-connect.c +=================================================================== +--- pulseaudio.orig/src/modules/module-switch-on-connect.c ++++ pulseaudio/src/modules/module-switch-on-connect.c +@@ -70,14 +70,11 @@ static pa_hook_result_t sink_put_hook_ca + + pa_log_debug("Trying to switch to new sink %s", sink->name); + +- /* Don't switch to any internal devices except HDMI */ +- s = pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_STRING); +- if (s && !pa_startswith(s, "hdmi")) { +- s = pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_BUS); +- if (pa_safe_streq(s, "pci") || pa_safe_streq(s, "isa")) { +- pa_log_debug("Refusing to switch to sink on %s bus", s); +- return PA_HOOK_OK; +- } ++ /* Don't switch to any internal devices */ ++ s = pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_BUS); ++ if (pa_safe_streq(s, "pci") || pa_safe_streq(s, "isa")) { ++ pa_log_debug("Refusing to switch to sink on %s bus", s); ++ return PA_HOOK_OK; + } + + /* Ignore virtual sinks if not configured otherwise on the command line */ diff -Nru pulseaudio-13.0/debian/patches/series pulseaudio-13.0/debian/patches/series --- pulseaudio-13.0/debian/patches/series 2019-09-18 14:38:48.000000000 +0800 +++ pulseaudio-13.0/debian/patches/series 2019-12-18 13:26:39.000000000 +0800 @@ -3,6 +3,7 @@ 0016-nodisplay-autostart.patch 0022-inotify-wrapper-Quit-daemon-if-pid-file-is-removed.patch 0030-load-module-switch-on-connect.patch +0031-lp1847570-Revert-switch-on-connect-Do-not-ignore-HDMI-sinks.patch memfd-glibc2.27.patch # Ubuntu Snap policy support