Re: [pulseaudio-discuss] Audio APP (sink-input) bind to the sink with only unplugged hdmi-audio ports on it

2018-09-30 Thread Hui Wang
On 2018年09月30日 18:30, Tanu Kaskinen wrote: On Sun, 2018-09-30 at 15:03 +0800, Hui Wang wrote: This issue is also reported to: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/579 Recently we found a weird issue on many laptops with the ubuntu 18.04, it uses the pulseaudio-11.1 (I

Re: [pulseaudio-discuss] Audio APP (sink-input) bind to the sink with only unplugged hdmi-audio ports on it

2018-09-30 Thread Tanu Kaskinen
On Sun, 2018-09-30 at 15:03 +0800, Hui Wang wrote: > This issue is also reported to: > https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/579 > > Recently we found a weird issue on many laptops with the ubuntu 18.04, > it uses the pulseaudio-11.1 (I guess the PA of the latest version

Re: [pulseaudio-discuss] Audio APP (sink-input) bind to the sink with only unplugged hdmi-audio ports on it

2018-09-30 Thread Hui Wang
The tentative fix of this problem like this: When a port is unplugged, it is caught by module-switch-on-port-available.c, here we check if the sink of this port is default_sink or not, if it is default_sink, it means the sink of this port is still the highest priority one, no need to move

[pulseaudio-discuss] Audio APP (sink-input) bind to the sink with only unplugged hdmi-audio ports on it

2018-09-30 Thread Hui Wang
This issue is also reported to: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/579 Recently we found a weird issue on many laptops with the ubuntu 18.04, it uses the pulseaudio-11.1 (I guess the PA of the latest version also has this problem). The issue is like this: 1. boot