[plasma-pa] Don't show virtual streams which aren't displayed correctly

Review Request #127540 - Created March 31, 2016 and submitted

Information
Yoann Laissus
plasma-pa
Reviewers
plasma

Virtual streams appear when virtual devices are defined in PulseAudio configuration (eg: combined output for classic analog and HDMI)
Those virtual streams aren't properly shown in both the KCM and the applet, producing ghost entries.

Screens attached.

I added a new property to the Stream object to identify if a stream is real or not.
Then, a proxy model takes care of the filtering in the KCM and the applet.
For now, only real devices are shown. But we could add a combobox later, at least in the KCM, to be able to display Virtual, Real or both kind of streams. (like pavucontrol)

The branch is here : https://quickgit.kde.org/?p=clones%2Fplasma-pa%2Flaissus%2Fplasma-pa.git&a=shortlog&h=014d6925b0911f9db2dc5f55cec5e5a9a84df8c9

PS : Other review requests are coming (sink selection for streams) but needs some rebasing with David Rosca's latest patches.


  

Files


Issues

  • 0
  • 6
  • 0
  • 6
Description From Last Updated
Yoann Laissus
Kai Uwe Broulik
Yoann Laissus
David Rosca
Yoann Laissus
David Rosca
Yoann Laissus
Yoann Laissus
David Rosca
Yoann Laissus
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 38b7ef0d04844524ff24d0ed741abbf751380099 by Yoann Laissus to branch master.
Loading...