D20262: [StreamRestore] Don't mess with channels

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Apr 5 12:41:25 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190405/0cb4a189/attachment.html>


More information about the Plasma-devel mailing list