Create StreamRestore channel if none exists
ClosedPublic

Authored by nicolasfella on Apr 14 2020, 1:46 PM.

Details

Summary

We need one channel to be able to control the volume. This restores D7485 which was broken by D20450 while fixing a different issue.
This patch tries to combine the two by only creating a new channel if none exists and not messing with existing ones.

BUG: 407397

Test Plan

Can control the notification volume in the KCM now. The slider position matches the one in pavucontrol

Diff Detail

Repository
R115 Plasma Audio Volume Applet
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Apr 14 2020, 1:46 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 14 2020, 1:46 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
nicolasfella requested review of this revision.Apr 14 2020, 1:46 PM
nicolasfella edited the summary of this revision. (Show Details)Apr 14 2020, 1:46 PM
ngraham accepted this revision.Apr 14 2020, 3:05 PM
ngraham added a subscriber: ngraham.

OMG you fixed it! Works for me.

Would be great to get this into the stable branch.

This revision is now accepted and ready to land.Apr 14 2020, 3:05 PM
This revision was automatically updated to reflect the committed changes.