D20450: [StreamRestore] Don't mess with channels

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Apr 10 21:40:07 BST 2019


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


More information about the Plasma-devel mailing list