broulik created this revision. broulik added reviewers: Plasma, drosca, nicolasfella. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY 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 TEST PLAN None. Compiled. REPOSITORY R115 Plasma Audio Volume Applet REVISION DETAIL https://phabricator.kde.org/D20450 AFFECTED FILES src/streamrestore.cpp To: broulik, #plasma, drosca, nicolasfella Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart