[StreamRestore] Don't mess with channels

Authored by broulik on Apr 11 2019, 7:27 AM.

Description

[StreamRestore] Don't mess with channels

Just set volume for all of them.
Otherwise when just calling setMuted, we will send the original volume struct, which might have multiple channels,
with a hardcoded channel map that only has one channel. PulseAudio then refuses to write the settings.

Patch ported from pulseaudio-qt

BUG: 398392
FIXED-IN: 5.15.5

Differential Revision: https://phabricator.kde.org/D20450

Details

Committed
broulikApr 11 2019, 7:27 AM
Differential Revision
D20450: [StreamRestore] Don't mess with channels
Parents
R115:78fac6b24ce9: Update version number for 5.15.4 GIT_SILENT
Branches
Unknown
Tags
Unknown