<table><tr><td style="">nicolasfella created this revision.<br />nicolasfella added reviewers: Plasma, drosca, broulik.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />nicolasfella requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28822">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>We need one channel to be able to control the volume. This restores <a href="https://phabricator.kde.org/D7485" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;">D7485</a> which was broken by <a href="https://phabricator.kde.org/D20450" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;">D20450</a> while fixing a different issue.<br />
This patch tries to combine the two by only creating a new channel if none exists and not messing with existing ones.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Can control the notification volume in the KCM now. The slider position matches the one in pavucontrol</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R115 Plasma Audio Volume Applet</div></div></div><br /><div><strong>BRANCH</strong><div><div>volcontrol</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28822">https://phabricator.kde.org/D28822</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/streamrestore.cpp</div></div></div><br /><div><strong>To: </strong>nicolasfella, Plasma, drosca, broulik<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>