Bug 22091

Summary: pulseaudio module-device-manager mis-routes streams in plasma5
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: Barry Jackson <zen25000>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: pulseaudio-11.0/1 CVE:
Status comment:

Description Barry Jackson 2017-11-28 16:19:29 CET
Description of problem:
During testing of pulseeffects package I hit an issue in plasma5 which I reported to PE upstream,
https://github.com/wwmm/pulseeffects/issues/99#issuecomment-346187296
and then PA upstream on irc. After lengthy debugging I quote the PA dev:
"
This is a bug in PulseAudio, in module-device-manager. The reason why this doesn't happen on non-KDE systems is that module-device-manager is only loaded when using KDE (see /usr/bin/start-pulseaudio-x11).

When an application requests a specific device when creating a stream, module-device-manager will let the application use that device initially, but it doesn't remember that the stream had "special" routing that shouldn't be changed. There are many situations where module-device-manager will check the stream routing and move streams if their routing doesn't match what module-device-manager thinks the routing should be.

An extra bit of information should be added to the internal stream state: "this stream is routed according to the application's request". When that bit is set, module-device-manager should refrain from moving the stream. If the stream is moved for any reason (e.g. requested by user), then that bit should be cleared, since the initial routing isn't relevant any more.
"

Version-Release number of selected component (if applicable):
Tested in 10.x and 11.1 (from Mga svn patched with extra debugging code provided by PA upstream)

How reproducible:
Always

Steps to Reproduce:
See linked pulseeffects bug report
Barry Jackson 2017-11-28 20:59:42 CET

Assignee: bugsquad => zen25000

Comment 1 Barry Jackson 2017-11-29 01:15:41 CET
Fixed in svn

r1180189 | barjac | 2017-11-28 23:58:55 +0000 (Tue, 28 Nov 2017) | 2 lines

- patches added to fix Mga#22091 
- (pulseaudio module-device-manager mis-routes streams in plasma5)

Should be resolved in pulseaudio-11.1 when it is submitted.
Comment 2 Barry Jackson 2017-11-29 01:16:58 CET
Closing as fixed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED