source-output: Fix source-output volume after move of virtual source stream
authorGeorg Chini <georg@chini.tk>
Wed, 17 Feb 2021 20:36:07 +0000 (21:36 +0100)
committerGeorg Chini <georg@chini.tk>
Wed, 17 Feb 2021 20:42:14 +0000 (21:42 +0100)
commit6b2844a61d659fc86e84988775677708c2a8c242
treebb85666a5a8f796a05a7156aa3fe185356eb6c74
parentb1f599dcd992e61c5ce2ed870bd913a43bb32deb
source-output: Fix source-output volume after move of virtual source stream

When the source-output of a virtual source with volume sharing disabled is moved,
the source output volume is reset to 100%. This patch fixes the problem by
applying the virtual source volume to the source-output after the move.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/509>
src/pulsecore/source-output.c