Move all streams when changing default device
ClosedPublic

Authored by drosca on May 2 2017, 8:31 AM.

Details

Summary

When changing default device, it will now also move all streams
to this device.

Test Plan

Changed default device, all streams moved to it

Diff Detail

Repository
R115 Plasma Audio Volume Applet
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
drosca created this revision.May 2 2017, 8:31 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 2 2017, 8:31 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
Zren added a subscriber: Zren.May 2 2017, 8:09 PM

I see you saw the /r/linux thread:
https://www.reddit.com/r/linux/comments/68jy8l/kde_users_how_do_you_switch_between_two_audio/

Going to suggest another test:

  1. Open mpv with audio playing.
  2. Set DeviceA as default
  3. Close mpv
  4. Set DeviceB as default
  5. Open mpv, which device does it start on? The user will expect DeviceB not DeviceA.
drosca added a comment.May 2 2017, 9:29 PM

Open mpv, which device does it start on? The user will expect DeviceB not DeviceA.

It plays on DeviceB for me as expected.

sebas accepted this revision.May 6 2017, 1:20 PM
This revision is now accepted and ready to land.May 6 2017, 1:20 PM
This revision was automatically updated to reflect the committed changes.