device-port: send sink and source change events when availability changes
authorTanu Kaskinen <tanuk@iki.fi>
Wed, 22 Jul 2020 10:28:47 +0000 (13:28 +0300)
committerArun Raghavan <arun@arunraghavan.net>
Wed, 22 Jul 2020 22:53:54 +0000 (22:53 +0000)
commit414644dff1abd32294db3be1fde001f56ec9e65a
treebc4c9999065a8b864d40a79e4133162ecc84f146
parent1f1fb8eb6b3e9ce9a6d7b382f48ddb2349d98be6
device-port: send sink and source change events when availability changes

The lack of change events caused GUIs to not update the port status.

Related bug report:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/941
src/pulsecore/device-port.c