[StreamRestore] Don't mess with channels

Authored by broulik on Apr 5 2019, 1:38 PM.

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.

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

Details

Committed
broulikApr 5 2019, 1:38 PM
Differential Revision
D20262: [StreamRestore] Don't mess with channels
Parents
R994:24103093025f: [Context] Update StreamRestore before inserting it
Branches
Unknown
Tags
Unknown