broulik created this revision. broulik added reviewers: sitter, 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. TEST PLAN I can now just `setMuted(true)` and it mutes notification sounds fine REPOSITORY R994 Pulseaudio Qt Bindings REVISION DETAIL https://phabricator.kde.org/D20262 AFFECTED FILES src/streamrestore.cpp To: broulik, sitter, drosca, nicolasfella Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart